blob: e0ba5015f57621839517bc42ed06c6d3f4b14b0e [file] [log] [blame]
Simon Pilgrimfc4d4b22016-07-19 13:35:11 +00001; RUN: llc -mtriple=arm64-unknown-unknown -o - %s
Matthias Braun75260352015-02-24 18:52:04 +00002
3; Make sure we don't run into an assert in the aarch64 code selection when
4; DAGCombining fails.
5
6declare void @t()
7
8define 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
14BB0:
15 call void @t()
16 br label %BB1
17
18BB1:
19 ret void
20}