1; RUN: llc -march=aarch64 -o - %s
2target 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
7declare void @t()
8
9define 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
15BB0:
16  call void @t()
17  br label %BB1
18
19BB1:
20  ret void
21}
22