1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin | \ 2*9880d681SAndroid Build Coastguard Worker; RUN: grep "stw r3, 32751" 3*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \ 4*9880d681SAndroid Build Coastguard Worker; RUN: grep "stw r3, 32751" 5*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \ 6*9880d681SAndroid Build Coastguard Worker; RUN: grep "std r3, 9024" 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Workerdefine void @test() nounwind { 9*9880d681SAndroid Build Coastguard Worker store i32 0, i32* inttoptr (i64 48725999 to i32*) 10*9880d681SAndroid Build Coastguard Worker ret void 11*9880d681SAndroid Build Coastguard Worker} 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Workerdefine void @test2() nounwind { 14*9880d681SAndroid Build Coastguard Worker store i64 0, i64* inttoptr (i64 74560 to i64*) 15*9880d681SAndroid Build Coastguard Worker ret void 16*9880d681SAndroid Build Coastguard Worker} 17*9880d681SAndroid Build Coastguard Worker 18