blob: 6b08148e72fa82c45d6dab4b101f8c1b6b8f13dc [file] [log] [blame]
Chris Lattner6e1472a2007-02-17 06:41:57 +00001; RUN: llvm-as < %s | llc -march=ppc32 | grep 'stw r3, 32751' &&
2; RUN: llvm-as < %s | llc -march=ppc64 | grep 'stw r3, 32751' &&
Chris Lattner0f743722007-02-17 06:57:11 +00003; RUN: llvm-as < %s | llc -march=ppc64 | grep 'std r2, 9024' &&
Chris Lattner6e1472a2007-02-17 06:41:57 +00004; RUN: llvm-as < %s | llc
5
6define void @test() {
7 store i32 0, i32* inttoptr (i64 48725999 to i32*)
8 ret void
9}
10
Chris Lattner0f743722007-02-17 06:57:11 +000011define void @test2() {
12 store i64 0, i64* inttoptr (i64 74560 to i64*)
13 ret void
14}
15