1 ; RUN: llc < %s | FileCheck %s
2 target datalayout = "e-m:e-i64:64-n32:64"
3 target triple = "powerpc64le-unknown-linux-gnu"
5 define void @_Z1fv() #0 {
7 %0 = call i8* @llvm.eh.dwarf.cfa(i32 0)
8 call void @_Z1gPv(i8* %0)
12 ; CHECK: stdu 1, -[[SS:[0-9]+]](1)
13 ; CHECK: .cfi_def_cfa_offset [[SS]]
15 ; CHECK: .cfi_def_cfa_register r31
16 ; CHECK: addi 3, 31, [[SS]]
17 ; CHECK-NEXT: bl _Z1gPv
21 declare void @_Z1gPv(i8*)
23 ; Function Attrs: nounwind
24 declare i8* @llvm.eh.dwarf.cfa(i32) #1
26 attributes #0 = { "no-frame-pointer-elim"="true" "target-cpu"="ppc64le" }
27 attributes #1 = { nounwind }