Test that large absolute addresses are properly folded into addr modes on

both ppc32 and ppc64.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34370 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-02-17 06:41:57 +00:00
parent 95ad943ed5
commit 6e1472a928

View File

@ -0,0 +1,9 @@
; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stw r3, 32751' &&
; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stw r3, 32751' &&
; RUN: llvm-as < %s | llc
define void @test() {
store i32 0, i32* inttoptr (i64 48725999 to i32*)
ret void
}