AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64.
[oota-llvm.git] / test / CodeGen / ARM64 / big-imm-offsets.ll
1 ; RUN: llc -march=arm64 < %s
2
3
4 ; Make sure large offsets aren't mistaken for valid immediate offsets.
5 ; <rdar://problem/13190511>
6 define void @f(i32* nocapture %p) {
7 entry:
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 }