blob: 0f7acacbfac9d162d8d937b0503541b789db9db4 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin | \
Dan Gohmanbd68c792008-07-17 19:10:17 +00002; RUN: grep {stw r3, 32751}
Dan Gohmanda594cf2009-09-09 00:09:15 +00003; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
Dan Gohmanbd68c792008-07-17 19:10:17 +00004; RUN: grep {stw r3, 32751}
Dan Gohmanda594cf2009-09-09 00:09:15 +00005; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006; RUN: grep {std r2, 9024}
7
8define void @test() {
9 store i32 0, i32* inttoptr (i64 48725999 to i32*)
10 ret void
11}
12
13define void @test2() {
14 store i64 0, i64* inttoptr (i64 74560 to i64*)
15 ret void
16}
17