mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 21:31:03 +00:00
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:
parent
95ad943ed5
commit
6e1472a928
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