1; RUN: llc -mtriple=arm64-eabi < %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}
15