source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AArch64/arm64-big-imm-offsets.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: 363 bytes
Line 
1; RUN: llc -march=arm64 < %s
2
3
4; Make sure large offsets aren't mistaken for valid immediate offsets.
5; <rdar://problem/13190511>
6define void @f(i32* nocapture %p) {
7entry:
8  %a = ptrtoint i32* %p to i64
9  %ao = add i64 %a, 25769803792
10  %b = inttoptr i64 %ao to i32*
11  store volatile i32 0, i32* %b, align 4
12  store volatile i32 0, i32* %b, align 4
13  ret void
14}
Note: See TracBrowser for help on using the repository browser.