Home | History | Annotate | Download | only in AArch64
      1 ; RUN: llc < %s -march=arm64
      2 
      3 ; Make sure we are not crashing on this test.
      4 
      5 define void @autogen_SD12881() {
      6 BB:
      7   %B17 = ashr <4 x i32> zeroinitializer, zeroinitializer
      8   br label %CF
      9 
     10 CF:                                               ; preds = %CF83, %CF, %BB
     11   br i1 undef, label %CF, label %CF83
     12 
     13 CF83:                                             ; preds = %CF
     14   %FC70 = sitofp <4 x i32> %B17 to <4 x double>
     15   br label %CF
     16 }
     17 
     18 
     19 define void @autogen_SD12881_2() {
     20 BB:
     21   %B17 = ashr <4 x i32> zeroinitializer, zeroinitializer
     22   br label %CF
     23 
     24 CF:                                               ; preds = %CF83, %CF, %BB
     25   br i1 undef, label %CF, label %CF83
     26 
     27 CF83:                                             ; preds = %CF
     28   %FC70 = uitofp <4 x i32> %B17 to <4 x double>
     29   br label %CF
     30 }
     31 
     32 define void @_Z12my_example2bv() nounwind noinline ssp {
     33 entry:
     34   %0 = fptosi <2 x double> undef to <2 x i32>
     35   store <2 x i32> %0, <2 x i32>* undef, align 8
     36   ret void
     37 }
     38