brintos

brintos / llvm-project-archived public Read only

0
0
Text · 544 B · 1d9018c Raw
27 lines · plain
1; RUN: llc < %s | FileCheck %s2target datalayout = "E-m:e-i64:64-n32:64"3target triple = "powerpc64"4 5; Function Attrs: nounwind6define void @test() #0 {7entry:8  call void @func()9  call void asm sideeffect "nop", "~{r31}"() #1, !srcloc !010  ret void11 12; CHECK-LABEL: @test13; CHECK: std 31, -8(1)14; CHECK: stdu 1, -{{[0-9]+}}(1)15; CHECK-NOT: std 31,16; CHECK: bl func17; CHECK: ld 31, -8(1)18; CHECK: blr19}20 21declare void @func()22 23attributes #0 = { nounwind "frame-pointer"="all" "target-cpu"="ppc64" }24attributes #1 = { nounwind }25 26!0 = !{i32 57}27