blob: 17053796bc79aeabe629727a4f539366b9959a70 [file] [log] [blame]
Reid Spencerc58ef012007-04-15 21:17:45 +00001; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin | \
2; RUN: grep {stw r3, 32751}
3; RUN: llvm-as < %s | llc -march=ppc64 -mtriple=powerpc-apple-darwin | \
4; RUN: grep {stw r3, 32751}
5; RUN: llvm-as < %s | llc -march=ppc64 -mtriple=powerpc-apple-darwin | \
6; RUN: grep {std r2, 9024}
Chris Lattner6e1472a2007-02-17 06:41:57 +00007
8define void @test() {
9 store i32 0, i32* inttoptr (i64 48725999 to i32*)
10 ret void
11}
12
Chris Lattner0f743722007-02-17 06:57:11 +000013define void @test2() {
14 store i64 0, i64* inttoptr (i64 74560 to i64*)
15 ret void
16}
17