llvm.org GIT mirror llvm / 6e1472a
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 Chris Lattner 13 years ago
1 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stw r3, 32751' &&
1 ; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stw r3, 32751' &&
2 ; RUN: llvm-as < %s | llc
3
4 define void @test() {
5 store i32 0, i32* inttoptr (i64 48725999 to i32*)
6 ret void
7 }
8