new test
[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 -march=ppc64 | grep 'std r2, 9024' &&
4 ; RUN: llvm-as < %s | llc
5
6 define void @test() {
7         store i32 0, i32* inttoptr (i64 48725999 to i32*)
8         ret void
9 }
10
11 define void @test2() {
12         store i64 0, i64* inttoptr (i64 74560 to i64*)
13         ret void
14 }
15