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:
parent
8f3acb68cb
commit
95f531844a
9
test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
Normal file
9
test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
Normal 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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user