1
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin | \
2
; RUN: grep {stw r3, 32751}
3
; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
4
; RUN: grep {stw r3, 32751}
5
; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
6
; RUN: grep {std r3, 9024}
8
define void @test() nounwind {
9
store i32 0, i32* inttoptr (i64 48725999 to i32*)
13
define void @test2() nounwind {
14
store i64 0, i64* inttoptr (i64 74560 to i64*)