blob: 2c582a302a4a112066d54af2313cffe6c49e3fca [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin | \
Dale Johannesen55f9adf2010-02-16 22:31:31 +00002; RUN: grep {stw r4, 32751}
Dan Gohmanfce288f2009-09-09 00:09:15 +00003; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
Dale Johannesen55f9adf2010-02-16 22:31:31 +00004; RUN: grep {stw r4, 32751}
Dan Gohmanfce288f2009-09-09 00:09:15 +00005; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
Dale Johannesen55f9adf2010-02-16 22:31:31 +00006; RUN: grep {std r3, 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