From eb16435b5e5df68d2410bbe4c08ef8ce8aa8b2f4 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 24 Dec 2019 16:02:47 -0800 Subject: Migrate function attribute "no-frame-pointer-elim-non-leaf" to "frame-pointer"="non-leaf" as cleanups after D56351 --- llvm/test/Transforms/LoopVectorize/dbg.value.ll | 2 +- llvm/test/Transforms/LoopVectorize/vectorize-once.ll | 2 +- llvm/test/Transforms/Reassociate/reassociate-landingpad.ll | 2 +- llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'llvm/test/Transforms') diff --git a/llvm/test/Transforms/LoopVectorize/dbg.value.ll b/llvm/test/Transforms/LoopVectorize/dbg.value.ll index cc8df301982..7dabbfa9376 100644 --- a/llvm/test/Transforms/LoopVectorize/dbg.value.ll +++ b/llvm/test/Transforms/LoopVectorize/dbg.value.ll @@ -42,7 +42,7 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) #1 ; Function Attrs: nounwind readnone declare void @llvm.dbg.value(metadata, metadata, metadata) #1 -attributes #0 = { nounwind ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } +attributes #0 = { nounwind ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "frame-pointer"="non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } attributes #1 = { nounwind readnone } !llvm.dbg.cu = !{!11} diff --git a/llvm/test/Transforms/LoopVectorize/vectorize-once.ll b/llvm/test/Transforms/LoopVectorize/vectorize-once.ll index d407ac1719c..7a7a493ec2a 100644 --- a/llvm/test/Transforms/LoopVectorize/vectorize-once.ll +++ b/llvm/test/Transforms/LoopVectorize/vectorize-once.ll @@ -65,7 +65,7 @@ _ZSt10accumulateIPiiET0_T_S2_S1_.exit: ; preds = %for.body.i, %entry ret i32 %__init.addr.0.lcssa.i } -attributes #0 = { nounwind readonly ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="pic" "ssp-buffers-size"="8" } +attributes #0 = { nounwind readonly ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "frame-pointer"="non-leaf" "realign-stack" "relocation-model"="pic" "ssp-buffers-size"="8" } ; CHECK: !0 = distinct !{!0, !1} ; CHECK: !1 = !{!"llvm.loop.isvectorized", i32 1} diff --git a/llvm/test/Transforms/Reassociate/reassociate-landingpad.ll b/llvm/test/Transforms/Reassociate/reassociate-landingpad.ll index 432cbed94ca..6adfbb0a7d6 100644 --- a/llvm/test/Transforms/Reassociate/reassociate-landingpad.ll +++ b/llvm/test/Transforms/Reassociate/reassociate-landingpad.ll @@ -47,7 +47,7 @@ invoke.cont25: ; preds = %", bb8" declare void @c() #0 -attributes #0 = { "no-frame-pointer-elim-non-leaf" } +attributes #0 = { "frame-pointer"="non-leaf" } !llvm.module.flags = !{!0} diff --git a/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll b/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll index c366d059d33..1a07ba35314 100644 --- a/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll +++ b/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll @@ -41,8 +41,8 @@ end: } declare i32 @Trace(...) #1 -attributes #0 = { nounwind ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } -attributes #1 = { "fp-contract-model"="standard" "no-frame-pointer-elim" "no-frame-pointer-elim-non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } +attributes #0 = { nounwind ssp uwtable "fp-contract-model"="standard" "no-frame-pointer-elim" "frame-pointer"="non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } +attributes #1 = { "fp-contract-model"="standard" "no-frame-pointer-elim" "frame-pointer"="non-leaf" "relocation-model"="pic" "ssp-buffers-size"="8" } attributes #2 = { nounwind } !0 = !{i32 1039} -- cgit v1.2.3