27 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s -check-prefix=PPC322; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=PPC643 4; PPC32: test5; PPC32: 4, 32751(3)6; PPC32: blr7; PPC64: test8; PPC64: 4, 32751(3)9; PPC64: blr10define void @test() nounwind {11 store i32 0, ptr inttoptr (i64 48725999 to ptr)12 ret void13}14 15; PPC32: test216; PPC32: stw 4, 9028(3)17; PPC32: stw 4, 9024(3)18; PPC32: blr19; PPC64: test220; PPC64: std 4, 9024(3)21; PPC64: blr22define void @test2() nounwind {23 store i64 0, ptr inttoptr (i64 74560 to ptr)24 ret void25}26 27