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