1 ; RUN: llc < %s | FileCheck %s 2 target datalayout = "E-m:e-i64:64-n32:64" 3 target triple = "powerpc64" 4 5 ; Function Attrs: nounwind 6 define void @test() #0 { 7 entry: 8 call void @func() 9 call void asm sideeffect "nop", "~{r31}"() #1, !srcloc !0 10 ret void 11 12 ; CHECK-LABEL: @test 13 ; CHECK: std 31, -8(1) 14 ; CHECK: stdu 1, -{{[0-9]+}}(1) 15 ; CHECK-NOT: std 31, 16 ; CHECK: bl func 17 ; CHECK: ld 31, -8(1) 18 ; CHECK: blr 19 } 20 21 declare void @func() 22 23 attributes #0 = { nounwind "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "target-cpu"="ppc64" } 24 attributes #1 = { nounwind } 25 26 !0 = !{i32 57} 27