Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64
      2 ; PR3886
      3 
      4 define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
      5 entry:
      6         %a = call <1 x i64> @bar()
      7         %tmp5.i = extractelement <1 x i64> %a, i32 0
      8         %tmp11 = bitcast i64 %tmp5.i to <1 x i64>
      9         %tmp8 = extractelement <1 x i64> %tmp11, i32 0
     10         %call6 = call i32 (i64) @foo(i64 %tmp8)
     11         ret i32 undef
     12 }
     13 
     14 declare i32 @foo(i64)
     15 
     16 declare <1 x i64> @bar()
     17