Home | History | Annotate | Download | only in AArch64
      1 ; RUN: llc -mtriple=arm64-unknown-unknown -o - %s
      2 
      3 ; Make sure we don't run into an assert in the aarch64 code selection when
      4 ; DAGCombining fails.
      5 
      6 declare void @t()
      7 
      8 define void @foo() {
      9   %c = bitcast i64 270458 to i64
     10   %t0 = lshr i64 %c, 422383
     11   %t1 = trunc i64 %t0 to i1
     12   br i1 %t1, label %BB1, label %BB0
     13 
     14 BB0:
     15   call void @t()
     16   br label %BB1
     17 
     18 BB1:
     19   ret void
     20 }
     21