source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AArch64/large_shift.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 396 bytes
Line 
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}
Note: See TracBrowser for help on using the repository browser.