1 ; RUN: llc -mtriple=arm64-eabi < %s
4 ; Make sure large offsets aren't mistaken for valid immediate offsets.
5 ; <rdar://problem/13190511>
6 define void @f(ptr nocapture %p) {
8 %a = ptrtoint ptr %p to i64
9 %ao = add i64 %a, 25769803792
10 %b = inttoptr i64 %ao to ptr
11 store volatile i32 0, ptr %b, align 4
12 store volatile i32 0, ptr %b, align 4