linux-packaging-mono/external/llvm/test/CodeGen/X86/2010-07-13-indirectXconstraint.ll
Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

19 lines
723 B
LLVM

; RUN: llc < %s -mtriple=x86_64-apple-darwin -no-integrated-as | FileCheck %s
; PR 7528
; formerly crashed
%0 = type { [12 x i16] }
%union..0anon = type { [3 x <1 x i64>] }
@gsm_H.1466 = internal constant %0 { [12 x i16] [i16 -134, i16 -374, i16 0, i16 2054, i16 5741, i16 8192, i16 5741, i16 2054, i16 0, i16 -374, i16 -134, i16 0] }, align 8 ; <%0*> [#uses=1]
define void @weighting_filter() nounwind ssp {
entry:
; CHECK: leaq _gsm_H.1466(%rip),%rax;
call void asm sideeffect "leaq $0,%rax;\0A", "*X,~{dirflag},~{fpsr},~{flags},~{memory},~{rax}"(%union..0anon* bitcast (%0* @gsm_H.1466 to %union..0anon*)) nounwind
br label %return
return: ; preds = %entry
ret void
}