Test that large absolute addresses are properly folded into addr modes on
[oota-llvm.git] / test / CodeGen / PowerPC / LargeAbsoluteAddr.ll
1 ; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stw r3, 32751' &&
2 ; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stw r3, 32751' &&
3 ; RUN: llvm-as < %s | llc
4
5 define void @test() {
6         store i32 0, i32* inttoptr (i64 48725999 to i32*)
7         ret void
8 }
9