blob: 8f415d1f2228c769f7a165d64f810f1677bbe0bf [file] [log] [blame]
Evan Chengd1b2c5b2007-02-19 21:47:02 +00001; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin | grep 'stw r3, 32751' &&
2; RUN: llvm-as < %s | llc -march=ppc64 -mtriple=powerpc-apple-darwin | grep 'stw r3, 32751' &&
3; RUN: llvm-as < %s | llc -march=ppc64 -mtriple=powerpc-apple-darwin | 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