blob: 7102e5488a8dd11bbcb1c2146fa75265b1c81bd3 [file] [log] [blame]
; RUN: llc -mtriple=arm64-eabi < %s
; Make sure large offsets aren't mistaken for valid immediate offsets.
; <rdar://problem/13190511>
define void @f(ptr nocapture %p) {
entry:
%a = ptrtoint ptr %p to i64
%ao = add i64 %a, 25769803792
%b = inttoptr i64 %ao to ptr
store volatile i32 0, ptr %b, align 4
store volatile i32 0, ptr %b, align 4
ret void
}