1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

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

both ppc32 and ppc64.

llvm-svn: 34370
This commit is contained in:
Chris Lattner 2007-02-17 06:41:57 +00:00
parent 8f3acb68cb
commit 95f531844a

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
}