From 148dd94d20b0f98ae97611b3052d4480a34b150a Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 24 Dec 2019 16:02:47 -0800 Subject: [PATCH] Migrate function attribute "no-frame-pointer-elim-non-leaf" to "frame-pointer"="non-leaf" as cleanups after D56351 --- .../MemoryDependenceAnalysis/invariant.group-bug.ll | 4 ++-- test/BugPoint/func-attrs-keyval.ll | 2 +- test/BugPoint/func-attrs.ll | 4 ++-- test/CodeGen/Generic/DbgValueAggregate.ll | 2 +- test/CodeGen/Hexagon/addh-sext-trunc.ll | 2 +- test/CodeGen/Hexagon/constp-combine-neg.ll | 2 +- test/CodeGen/Hexagon/constp-physreg.ll | 2 +- test/CodeGen/Hexagon/insert4.ll | 2 +- test/CodeGen/Hexagon/vect/vect-extract.ll | 2 +- test/CodeGen/Hexagon/vect/vect-shuffle.ll | 2 +- test/CodeGen/Hexagon/vect/vect-v4i16.ll | 2 +- test/CodeGen/Hexagon/vect/vect-vshifts.ll | 2 +- test/CodeGen/Hexagon/vect/vect-xor.ll | 2 +- test/CodeGen/Mips/cmplarge.ll | 4 ++-- test/CodeGen/Mips/mips16-hf-attr-2.ll | 6 +++--- test/CodeGen/Mips/mips16-hf-attr.ll | 6 +++--- test/CodeGen/Mips/mips16_32_1.ll | 2 +- test/CodeGen/Mips/mips16_32_10.ll | 6 +++--- test/CodeGen/Mips/mips16_32_3.ll | 6 +++--- test/CodeGen/Mips/mips16_32_4.ll | 6 +++--- test/CodeGen/Mips/mips16_32_5.ll | 6 +++--- test/CodeGen/Mips/mips16_32_6.ll | 6 +++--- test/CodeGen/Mips/mips16_32_7.ll | 6 +++--- test/CodeGen/Mips/mips16_32_8.ll | 8 ++++---- test/CodeGen/Mips/mips16_32_9.ll | 6 +++--- test/CodeGen/Mips/no-frame-pointer-elim.ll | 2 +- test/CodeGen/PowerPC/asym-regclass-copy.ll | 2 +- test/CodeGen/PowerPC/cr-spills.ll | 2 +- test/CodeGen/PowerPC/ctr-cleanup.ll | 2 +- test/CodeGen/PowerPC/frameaddr.ll | 4 ++-- test/CodeGen/PowerPC/negctr.ll | 2 +- test/CodeGen/PowerPC/sjlj.ll | 2 +- test/CodeGen/PowerPC/unal4-std.ll | 2 +- test/CodeGen/Thumb2/frame-pointer.ll | 4 ++-- test/CodeGen/X86/fp-elim.ll | 4 ++-- test/CodeGen/X86/leaf-fp-elim.ll | 2 +- test/CodeGen/X86/misched_phys_reg_assign_order.ll | 2 +- test/CodeGen/X86/pr20020.ll | 2 +- test/CodeGen/X86/tls-addr-non-leaf-function.ll | 2 +- test/CodeGen/X86/x86-shrink-wrapping.ll | 2 +- test/DebugInfo/COFF/fpo-funclet.ll | 4 ++-- test/DebugInfo/Generic/2010-05-03-DisableFramePtr.ll | 2 +- test/DebugInfo/MIR/X86/dbg-stack-value-range.mir | 2 +- test/DebugInfo/MIR/X86/kill-after-spill.mir | 2 +- test/DebugInfo/MIR/X86/live-debug-values-spill.mir | 4 ++-- test/DebugInfo/X86/line-info.ll | 2 +- test/DebugInfo/X86/stack-value-dwarf2.ll | 2 +- test/Transforms/LoopVectorize/dbg.value.ll | 2 +- test/Transforms/LoopVectorize/vectorize-once.ll | 2 +- test/Transforms/Reassociate/reassociate-landingpad.ll | 2 +- test/Transforms/SimplifyCFG/volatile-phioper.ll | 4 ++-- .../llvm-objdump/X86/disassemble-archive-with-source.ll | 2 +- 52 files changed, 82 insertions(+), 82 deletions(-) diff --git a/test/Analysis/MemoryDependenceAnalysis/invariant.group-bug.ll b/test/Analysis/MemoryDependenceAnalysis/invariant.group-bug.ll index 00ed8d6ed78..5ef98b888b3 100644 --- a/test/Analysis/MemoryDependenceAnalysis/invariant.group-bug.ll +++ b/test/Analysis/MemoryDependenceAnalysis/invariant.group-bug.ll @@ -96,8 +96,8 @@ define void @fail(i1* noalias sret, %0*, %1*, i8*) local_unnamed_addr #0 { ret void } -attributes #0 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } !llvm.linker.options = !{} !llvm.module.flags = !{!0, !1, !3, !4, !5} diff --git a/test/BugPoint/func-attrs-keyval.ll b/test/BugPoint/func-attrs-keyval.ll index aaf8541e50d..0de5db9e307 100644 --- a/test/BugPoint/func-attrs-keyval.ll +++ b/test/BugPoint/func-attrs-keyval.ll @@ -8,4 +8,4 @@ define void @f() #0 { } ; CHECK: attributes #[[ATTRS]] = { "bugpoint-crash"="sure" } -attributes #0 = { "bugpoint-crash"="sure" noreturn "no-frame-pointer-elim-non-leaf" } +attributes #0 = { "bugpoint-crash"="sure" noreturn "frame-pointer"="non-leaf" } diff --git a/test/BugPoint/func-attrs.ll b/test/BugPoint/func-attrs.ll index e471ff2ae14..234477927fd 100644 --- a/test/BugPoint/func-attrs.ll +++ b/test/BugPoint/func-attrs.ll @@ -11,5 +11,5 @@ define void @f() #0 { } ; ENABLED: attributes #[[ATTRS]] = { "bugpoint-crash" } -; DISABLED: attributes #[[ATTRS]] = { noinline "bugpoint-crash" "no-frame-pointer-elim-non-leaf" } -attributes #0 = { noinline "bugpoint-crash" "no-frame-pointer-elim-non-leaf" } \ No newline at end of file +; DISABLED: attributes #[[ATTRS]] = { noinline "bugpoint-crash" "frame-pointer"="non-leaf" } +attributes #0 = { noinline "bugpoint-crash" "frame-pointer"="non-leaf" } \ No newline at end of file diff --git a/test/CodeGen/Generic/DbgValueAggregate.ll b/test/CodeGen/Generic/DbgValueAggregate.ll index e94304a2535..e6832255844 100644 --- a/test/CodeGen/Generic/DbgValueAggregate.ll +++ b/test/CodeGen/Generic/DbgValueAggregate.ll @@ -14,7 +14,7 @@ L.entry: ; Function Attrs: nounwind readnone speculatable declare void @llvm.dbg.value(metadata, metadata, metadata) #1 -attributes #0 = { "no-frame-pointer-elim-non-leaf" } +attributes #0 = { "frame-pointer"="non-leaf" } attributes #1 = { nounwind readnone speculatable } !llvm.module.flags = !{!0} diff --git a/test/CodeGen/Hexagon/addh-sext-trunc.ll b/test/CodeGen/Hexagon/addh-sext-trunc.ll index ec5dc611105..821ed011fed 100644 --- a/test/CodeGen/Hexagon/addh-sext-trunc.ll +++ b/test/CodeGen/Hexagon/addh-sext-trunc.ll @@ -15,7 +15,7 @@ define i32 @foo(i16 %a, i32 %b) #0 { } -attributes #0 = { nounwind readonly "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind readonly "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } !0 = !{!"short", !1} !1 = !{!"omnipotent char", !2} diff --git a/test/CodeGen/Hexagon/constp-combine-neg.ll b/test/CodeGen/Hexagon/constp-combine-neg.ll index 283bd4801e9..c0cf7a53d18 100644 --- a/test/CodeGen/Hexagon/constp-combine-neg.ll +++ b/test/CodeGen/Hexagon/constp-combine-neg.ll @@ -26,5 +26,5 @@ entry: ; CHECK-TEST2: combine(#6,#-4) ; CHECK-TEST3: combine(#-10,#-8) -attributes #0 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Hexagon/constp-physreg.ll b/test/CodeGen/Hexagon/constp-physreg.ll index 0473b96f6de..42ea0b36073 100644 --- a/test/CodeGen/Hexagon/constp-physreg.ll +++ b/test/CodeGen/Hexagon/constp-physreg.ll @@ -18,4 +18,4 @@ return: ; preds = %if.end, %if.end15, ret i16 %retval.0.reg2mem.0 } -attributes #0 = { nounwind readnone "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind readnone "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Hexagon/insert4.ll b/test/CodeGen/Hexagon/insert4.ll index 3bc8e9e5798..3a0f9b999da 100644 --- a/test/CodeGen/Hexagon/insert4.ll +++ b/test/CodeGen/Hexagon/insert4.ll @@ -104,7 +104,7 @@ declare i64 @llvm.hexagon.M2.dpmpyss.s0(i32, i32) #1 declare i64 @llvm.hexagon.A2.vaddhs(i64, i64) #1 -attributes #0 = { nounwind "fp-contract-model"="standard" "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="static" "ssp-buffers-size"="8" } +attributes #0 = { nounwind "fp-contract-model"="standard" "frame-pointer"="non-leaf" "realign-stack" "relocation-model"="static" "ssp-buffers-size"="8" } attributes #1 = { nounwind readnone } !0 = !{!"short", !1} diff --git a/test/CodeGen/Hexagon/vect/vect-extract.ll b/test/CodeGen/Hexagon/vect/vect-extract.ll index 75dc6850f18..1a7eaf9b88b 100644 --- a/test/CodeGen/Hexagon/vect/vect-extract.ll +++ b/test/CodeGen/Hexagon/vect/vect-extract.ll @@ -92,5 +92,5 @@ polly.stmt.for.body331: ; preds = %polly.stmt.for.body declare i64 @llvm.hexagon.A2.combinew(i32, i32) #1 -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind readnone } diff --git a/test/CodeGen/Hexagon/vect/vect-shuffle.ll b/test/CodeGen/Hexagon/vect/vect-shuffle.ll index 29559cbd2ad..da5016fb6ed 100644 --- a/test/CodeGen/Hexagon/vect/vect-shuffle.ll +++ b/test/CodeGen/Hexagon/vect/vect-shuffle.ll @@ -45,7 +45,7 @@ polly.loop_body: ; preds = %entry, %polly.loop_ declare i64 @llvm.hexagon.A2.combinew(i32, i32) #1 -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind readnone } diff --git a/test/CodeGen/Hexagon/vect/vect-v4i16.ll b/test/CodeGen/Hexagon/vect/vect-v4i16.ll index 83d56ed9ed4..7b12c8f3733 100644 --- a/test/CodeGen/Hexagon/vect/vect-v4i16.ll +++ b/test/CodeGen/Hexagon/vect/vect-v4i16.ll @@ -68,4 +68,4 @@ polly.stmt.for.body29: ; preds = %polly.stmt.for.body br i1 %exitcond, label %for.end.loopexit, label %polly.stmt.for.body29 } -attributes #0 = { nounwind "fp-contract-model"="standard" "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="static" "ssp-buffers-size"="8" } +attributes #0 = { nounwind "fp-contract-model"="standard" "frame-pointer"="non-leaf" "realign-stack" "relocation-model"="static" "ssp-buffers-size"="8" } diff --git a/test/CodeGen/Hexagon/vect/vect-vshifts.ll b/test/CodeGen/Hexagon/vect/vect-vshifts.ll index 9d3cbe6e113..2291222236b 100644 --- a/test/CodeGen/Hexagon/vect/vect-vshifts.ll +++ b/test/CodeGen/Hexagon/vect/vect-vshifts.ll @@ -271,7 +271,7 @@ declare i64 @llvm.hexagon.C2.vmux(i32, i64, i64) #1 declare i64 @llvm.hexagon.S2.asl.r.vw(i64, i32) #1 -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind readnone } !0 = !{!"int", !1} diff --git a/test/CodeGen/Hexagon/vect/vect-xor.ll b/test/CodeGen/Hexagon/vect/vect-xor.ll index 8864ab5c5cb..e3c8c7783ad 100644 --- a/test/CodeGen/Hexagon/vect/vect-xor.ll +++ b/test/CodeGen/Hexagon/vect/vect-xor.ll @@ -35,4 +35,4 @@ polly.loop_body: ; preds = %entry, %polly.loop_ br i1 %0, label %polly.loop_body, label %polly.loop_after } -attributes #0 = { nounwind "fp-contract-model"="standard" "no-frame-pointer-elim-non-leaf" "realign-stack" "relocation-model"="static" "ssp-buffers-size"="8" } +attributes #0 = { nounwind "fp-contract-model"="standard" "frame-pointer"="non-leaf" "realign-stack" "relocation-model"="static" "ssp-buffers-size"="8" } diff --git a/test/CodeGen/Mips/cmplarge.ll b/test/CodeGen/Mips/cmplarge.ll index 1ca5b921e0b..aa88323368c 100644 --- a/test/CodeGen/Mips/cmplarge.ll +++ b/test/CodeGen/Mips/cmplarge.ll @@ -33,6 +33,6 @@ for.end: ; preds = %for.body, %entry ; cmp16: .end getSubImagesLuma declare i32 @iClip3(...) #1 -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #2 = { nounwind } diff --git a/test/CodeGen/Mips/mips16-hf-attr-2.ll b/test/CodeGen/Mips/mips16-hf-attr-2.ll index 8f8d78d70de..46cba348ceb 100644 --- a/test/CodeGen/Mips/mips16-hf-attr-2.ll +++ b/test/CodeGen/Mips/mips16-hf-attr-2.ll @@ -26,20 +26,20 @@ declare float @foo(float) #2 attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" - "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" + "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" - "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" + "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" } attributes #2 = { "less-precise-fpmad"="false" "frame-pointer"="all" - "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" + "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" } diff --git a/test/CodeGen/Mips/mips16-hf-attr.ll b/test/CodeGen/Mips/mips16-hf-attr.ll index 9d51740f047..dabe61842d5 100644 --- a/test/CodeGen/Mips/mips16-hf-attr.ll +++ b/test/CodeGen/Mips/mips16-hf-attr.ll @@ -26,20 +26,20 @@ declare float @foo(float) #2 attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" - "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" + "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" - "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" + "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" } attributes #2 = { "less-precise-fpmad"="false" "frame-pointer"="all" - "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" + "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" } diff --git a/test/CodeGen/Mips/mips16_32_1.ll b/test/CodeGen/Mips/mips16_32_1.ll index 211aa2a0f4b..bf95c06a493 100644 --- a/test/CodeGen/Mips/mips16_32_1.ll +++ b/test/CodeGen/Mips/mips16_32_1.ll @@ -10,4 +10,4 @@ entry: ; CHECK: .ent foo ; CHECK: jrc $ra ; CHECK: .end foo -attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/mips16_32_10.ll b/test/CodeGen/Mips/mips16_32_10.ll index b256912d715..83e82f6c601 100644 --- a/test/CodeGen/Mips/mips16_32_10.ll +++ b/test/CodeGen/Mips/mips16_32_10.ll @@ -53,6 +53,6 @@ entry: -attributes #0 = { nounwind "less-precise-fpmad"="false" "nomips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "nomips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/mips16_32_3.ll b/test/CodeGen/Mips/mips16_32_3.ll index 8891eba8c95..a28af8b5eba 100644 --- a/test/CodeGen/Mips/mips16_32_3.ll +++ b/test/CodeGen/Mips/mips16_32_3.ll @@ -62,6 +62,6 @@ entry: ; 32: .set reorder ; 32: .end main -attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #2 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/mips16_32_4.ll b/test/CodeGen/Mips/mips16_32_4.ll index 2d50881c61b..118d1e39053 100644 --- a/test/CodeGen/Mips/mips16_32_4.ll +++ b/test/CodeGen/Mips/mips16_32_4.ll @@ -56,6 +56,6 @@ entry: ; 32: .end main -attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/mips16_32_5.ll b/test/CodeGen/Mips/mips16_32_5.ll index 644ba4c98e3..55175534dff 100644 --- a/test/CodeGen/Mips/mips16_32_5.ll +++ b/test/CodeGen/Mips/mips16_32_5.ll @@ -73,6 +73,6 @@ entry: -attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/mips16_32_6.ll b/test/CodeGen/Mips/mips16_32_6.ll index 1afce84b033..33a2bf27b0a 100644 --- a/test/CodeGen/Mips/mips16_32_6.ll +++ b/test/CodeGen/Mips/mips16_32_6.ll @@ -80,6 +80,6 @@ entry: -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/mips16_32_7.ll b/test/CodeGen/Mips/mips16_32_7.ll index cc247c05454..680420b6268 100644 --- a/test/CodeGen/Mips/mips16_32_7.ll +++ b/test/CodeGen/Mips/mips16_32_7.ll @@ -68,6 +68,6 @@ entry: -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/mips16_32_8.ll b/test/CodeGen/Mips/mips16_32_8.ll index 5e03928a11f..0cde5f1285b 100644 --- a/test/CodeGen/Mips/mips16_32_8.ll +++ b/test/CodeGen/Mips/mips16_32_8.ll @@ -67,7 +67,7 @@ entry: ; 32: .set reorder ; 32: .end main -attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #3 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "nomips16" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #2 = { "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #3 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/mips16_32_9.ll b/test/CodeGen/Mips/mips16_32_9.ll index 8543147bed0..e2d329a0fe9 100644 --- a/test/CodeGen/Mips/mips16_32_9.ll +++ b/test/CodeGen/Mips/mips16_32_9.ll @@ -44,6 +44,6 @@ entry: -attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #2 = { nounwind "less-precise-fpmad"="false" "mips16" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Mips/no-frame-pointer-elim.ll b/test/CodeGen/Mips/no-frame-pointer-elim.ll index 5242ff46129..5c5752e72e2 100644 --- a/test/CodeGen/Mips/no-frame-pointer-elim.ll +++ b/test/CodeGen/Mips/no-frame-pointer-elim.ll @@ -6,7 +6,7 @@ declare dso_local void @callee() noreturn nounwind -define dso_local void @caller() nounwind "no-frame-pointer-elim-non-leaf" { +define dso_local void @caller() nounwind "frame-pointer"="non-leaf" { ; STATIC-LABEL: caller: ; STATIC: # %bb.0: # %entry ; STATIC-NEXT: daddiu $sp, $sp, -16 diff --git a/test/CodeGen/PowerPC/asym-regclass-copy.ll b/test/CodeGen/PowerPC/asym-regclass-copy.ll index 0f46fe1b625..f04d5597630 100644 --- a/test/CodeGen/PowerPC/asym-regclass-copy.ll +++ b/test/CodeGen/PowerPC/asym-regclass-copy.ll @@ -52,5 +52,5 @@ declare void @free(i8* nocapture) #0 declare i64 @strtol(i8*, i8** nocapture, i32 signext) #0 -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind } diff --git a/test/CodeGen/PowerPC/cr-spills.ll b/test/CodeGen/PowerPC/cr-spills.ll index 170744679c8..68c31552eaf 100644 --- a/test/CodeGen/PowerPC/cr-spills.ll +++ b/test/CodeGen/PowerPC/cr-spills.ll @@ -400,5 +400,5 @@ for.end999: ; preds = %for.inc997 ret void } -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind } diff --git a/test/CodeGen/PowerPC/ctr-cleanup.ll b/test/CodeGen/PowerPC/ctr-cleanup.ll index 0824bb2766f..9e13b6f7567 100644 --- a/test/CodeGen/PowerPC/ctr-cleanup.ll +++ b/test/CodeGen/PowerPC/ctr-cleanup.ll @@ -22,4 +22,4 @@ for.end: ; preds = %for.body, %entry ret void } -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/PowerPC/frameaddr.ll b/test/CodeGen/PowerPC/frameaddr.ll index 0b1733d79b5..2baf5e2d573 100644 --- a/test/CodeGen/PowerPC/frameaddr.ll +++ b/test/CodeGen/PowerPC/frameaddr.ll @@ -40,8 +40,8 @@ declare void @use(i8*) declare i8* @llvm.frameaddress(i32) #2 -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { noreturn nounwind } attributes #2 = { nounwind readnone } -attributes #3 = { nounwind naked "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #3 = { nounwind naked "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/PowerPC/negctr.ll b/test/CodeGen/PowerPC/negctr.ll index 5aa5bd1fa69..4e620010603 100644 --- a/test/CodeGen/PowerPC/negctr.ll +++ b/test/CodeGen/PowerPC/negctr.ll @@ -87,4 +87,4 @@ for.end: ; preds = %for.body, %entry ret void } -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/PowerPC/sjlj.ll b/test/CodeGen/PowerPC/sjlj.ll index c5dba12c1e2..3c1eee7fb39 100644 --- a/test/CodeGen/PowerPC/sjlj.ll +++ b/test/CodeGen/PowerPC/sjlj.ll @@ -172,7 +172,7 @@ declare i8* @llvm.stacksave() #3 declare i32 @llvm.eh.sjlj.setjmp(i8*) #3 -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { noreturn nounwind } attributes #2 = { nounwind readnone } attributes #3 = { nounwind } diff --git a/test/CodeGen/PowerPC/unal4-std.ll b/test/CodeGen/PowerPC/unal4-std.ll index f27aaf4ed64..f843b6b58c1 100644 --- a/test/CodeGen/PowerPC/unal4-std.ll +++ b/test/CodeGen/PowerPC/unal4-std.ll @@ -21,4 +21,4 @@ if.end210: ; preds = %entry ; CHECK-VSX: stxvw4x {{[0-9]+}}, 0, } -attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } diff --git a/test/CodeGen/Thumb2/frame-pointer.ll b/test/CodeGen/Thumb2/frame-pointer.ll index cc00ae8c092..ae3c1c8a50e 100644 --- a/test/CodeGen/Thumb2/frame-pointer.ll +++ b/test/CodeGen/Thumb2/frame-pointer.ll @@ -51,7 +51,7 @@ define void @leaf_highreg_nofpelim() "frame-pointer"="all" { ; Leaf function, frame pointer requested for non-leaf functions only, so no ; need for a stack frame. -define void @leaf_nononleaffpelim() "no-frame-pointer-elim-non-leaf" { +define void @leaf_nononleaffpelim() "frame-pointer"="non-leaf" { ; CHECK-LABEL: leaf_nononleaffpelim: ; CHECK-NOT: push ; CHECK-NOT: sp @@ -83,7 +83,7 @@ define void @call_nofpelim() "frame-pointer"="all" { } ; Has a call, and frame pointer requested for non-leaf function. -define void @call_nononleaffpelim() "no-frame-pointer-elim-non-leaf" { +define void @call_nononleaffpelim() "frame-pointer"="non-leaf" { ; CHECK-LABEL: call_nononleaffpelim: ; CHECK: push {r7, lr} ; CHECK: mov r7, sp diff --git a/test/CodeGen/X86/fp-elim.ll b/test/CodeGen/X86/fp-elim.ll index 65764d144a2..b644631d1d4 100644 --- a/test/CodeGen/X86/fp-elim.ll +++ b/test/CodeGen/X86/fp-elim.ll @@ -31,7 +31,7 @@ entry: ret void } -define i32 @t3() "no-frame-pointer-elim-non-leaf" nounwind readnone { +define i32 @t3() "frame-pointer"="non-leaf" nounwind readnone { entry: ; FP-ELIM-LABEL: t3: ; FP-ELIM-NEXT: movl @@ -44,7 +44,7 @@ entry: ret i32 10 } -define void @t4() "no-frame-pointer-elim-non-leaf" nounwind { +define void @t4() "frame-pointer"="non-leaf" nounwind { entry: ; FP-ELIM-LABEL: t4: ; FP-ELIM-NEXT: pushl %ebp diff --git a/test/CodeGen/X86/leaf-fp-elim.ll b/test/CodeGen/X86/leaf-fp-elim.ll index dfbfbf7d11c..4a4e9b444eb 100644 --- a/test/CodeGen/X86/leaf-fp-elim.ll +++ b/test/CodeGen/X86/leaf-fp-elim.ll @@ -6,7 +6,7 @@ target triple = "x86_64-apple-darwin11.0" @msg = internal global i8* null ; [#uses=1] @.str = private constant [2 x i8] c"x\00", align 1 ; <[2 x i8]*> [#uses=1] -define void @test(i8* %p) "no-frame-pointer-elim-non-leaf" nounwind optsize ssp { +define void @test(i8* %p) "frame-pointer"="non-leaf" nounwind optsize ssp { ; No stack frame, please. ; CHECK: _test diff --git a/test/CodeGen/X86/misched_phys_reg_assign_order.ll b/test/CodeGen/X86/misched_phys_reg_assign_order.ll index fd40d7f92e9..7231ea35b78 100644 --- a/test/CodeGen/X86/misched_phys_reg_assign_order.ll +++ b/test/CodeGen/X86/misched_phys_reg_assign_order.ll @@ -49,4 +49,4 @@ k.end: ; preds = %entry declare i32 @m() -attributes #0 = { noimplicitfloat "no-frame-pointer-elim-non-leaf" } +attributes #0 = { noimplicitfloat "frame-pointer"="non-leaf" } diff --git a/test/CodeGen/X86/pr20020.ll b/test/CodeGen/X86/pr20020.ll index 56c12faaf70..2f554d11185 100644 --- a/test/CodeGen/X86/pr20020.ll +++ b/test/CodeGen/X86/pr20020.ll @@ -70,4 +70,4 @@ for.end38: ; preds = %for.inc20, %entry ; Function Attrs: nounwind declare double @sqrt(double) #1 -attributes #0 = { "no-frame-pointer-elim-non-leaf" } +attributes #0 = { "frame-pointer"="non-leaf" } diff --git a/test/CodeGen/X86/tls-addr-non-leaf-function.ll b/test/CodeGen/X86/tls-addr-non-leaf-function.ll index 6ebced191e0..0d6c49acc63 100644 --- a/test/CodeGen/X86/tls-addr-non-leaf-function.ll +++ b/test/CodeGen/X86/tls-addr-non-leaf-function.ll @@ -31,7 +31,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @x = thread_local global i32 0 -define i32 @foo() "no-frame-pointer-elim-non-leaf" { +define i32 @foo() "frame-pointer"="non-leaf" { %a = load i32, i32* @x, align 4 ret i32 %a } diff --git a/test/CodeGen/X86/x86-shrink-wrapping.ll b/test/CodeGen/X86/x86-shrink-wrapping.ll index 7a8a3236069..d91ba93ffb4 100644 --- a/test/CodeGen/X86/x86-shrink-wrapping.ll +++ b/test/CodeGen/X86/x86-shrink-wrapping.ll @@ -1580,4 +1580,4 @@ define void @infiniteLoopNoSuccessor() #5 { declare void @somethingElse(...) -attributes #5 = { nounwind "no-frame-pointer-elim-non-leaf" } +attributes #5 = { nounwind "frame-pointer"="non-leaf" } diff --git a/test/DebugInfo/COFF/fpo-funclet.ll b/test/DebugInfo/COFF/fpo-funclet.ll index 0e8c03afb7d..ea28ddcb4e4 100644 --- a/test/DebugInfo/COFF/fpo-funclet.ll +++ b/test/DebugInfo/COFF/fpo-funclet.ll @@ -58,8 +58,8 @@ declare void @"\01?g@@YAXXZ"() local_unnamed_addr #1 declare i32 @__CxxFrameHandler3(...) -attributes #0 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="pentium4" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="pentium4" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="pentium4" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="pentium4" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } !llvm.dbg.cu = !{!0} !llvm.module.flags = !{!3, !4, !5, !6} diff --git a/test/DebugInfo/Generic/2010-05-03-DisableFramePtr.ll b/test/DebugInfo/Generic/2010-05-03-DisableFramePtr.ll index 98d76d5e485..c15118a870a 100644 --- a/test/DebugInfo/Generic/2010-05-03-DisableFramePtr.ll +++ b/test/DebugInfo/Generic/2010-05-03-DisableFramePtr.ll @@ -2,7 +2,7 @@ ; Radar 7937664 %struct.AppleEvent = type opaque -define void @DisposeDMNotificationUPP(void (%struct.AppleEvent*)* %userUPP) "no-frame-pointer-elim-non-leaf" nounwind ssp { +define void @DisposeDMNotificationUPP(void (%struct.AppleEvent*)* %userUPP) "frame-pointer"="non-leaf" nounwind ssp { entry: %userUPP_addr = alloca void (%struct.AppleEvent*)* ; [#uses=1] %"alloca point" = bitcast i32 0 to i32 ; [#uses=0] diff --git a/test/DebugInfo/MIR/X86/dbg-stack-value-range.mir b/test/DebugInfo/MIR/X86/dbg-stack-value-range.mir index 2ba38666d0c..a1dae268e32 100644 --- a/test/DebugInfo/MIR/X86/dbg-stack-value-range.mir +++ b/test/DebugInfo/MIR/X86/dbg-stack-value-range.mir @@ -96,7 +96,7 @@ ; Function Attrs: nounwind declare void @llvm.stackprotector(i8*, i8**) - attributes #0 = { nounwind uwtable "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" } + attributes #0 = { nounwind uwtable "frame-pointer"="non-leaf" } !llvm.dbg.cu = !{!0} !llvm.module.flags = !{!3, !4, !5} diff --git a/test/DebugInfo/MIR/X86/kill-after-spill.mir b/test/DebugInfo/MIR/X86/kill-after-spill.mir index 4e259f9b0c3..d85be7f6d80 100644 --- a/test/DebugInfo/MIR/X86/kill-after-spill.mir +++ b/test/DebugInfo/MIR/X86/kill-after-spill.mir @@ -129,7 +129,7 @@ ; Function Attrs: nounwind declare void @llvm.stackprotector(i8*, i8**) #2 - attributes #0 = { nounwind uwtable "no-frame-pointer-elim-non-leaf" } + attributes #0 = { nounwind uwtable "frame-pointer"="non-leaf" } attributes #1 = { nounwind readnone speculatable } attributes #2 = { nounwind } diff --git a/test/DebugInfo/MIR/X86/live-debug-values-spill.mir b/test/DebugInfo/MIR/X86/live-debug-values-spill.mir index 38a76ed8134..98c7bac161c 100644 --- a/test/DebugInfo/MIR/X86/live-debug-values-spill.mir +++ b/test/DebugInfo/MIR/X86/live-debug-values-spill.mir @@ -196,9 +196,9 @@ ; Function Attrs: nounwind declare void @llvm.stackprotector(i8*, i8**) #4 - attributes #0 = { nounwind uwtable "no-frame-pointer-elim-non-leaf" } + attributes #0 = { nounwind uwtable "frame-pointer"="non-leaf" } attributes #1 = { argmemonly nounwind } - attributes #2 = { "no-frame-pointer-elim-non-leaf" } + attributes #2 = { "frame-pointer"="non-leaf" } attributes #3 = { nounwind readnone } attributes #4 = { nounwind } diff --git a/test/DebugInfo/X86/line-info.ll b/test/DebugInfo/X86/line-info.ll index 20367f67cb5..e928fe4fef5 100644 --- a/test/DebugInfo/X86/line-info.ll +++ b/test/DebugInfo/X86/line-info.ll @@ -32,7 +32,7 @@ entry: ret i32 0, !dbg !17 } -attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind readnone } !llvm.dbg.cu = !{!0} diff --git a/test/DebugInfo/X86/stack-value-dwarf2.ll b/test/DebugInfo/X86/stack-value-dwarf2.ll index 737a4c4ddec..f7eebde8435 100644 --- a/test/DebugInfo/X86/stack-value-dwarf2.ll +++ b/test/DebugInfo/X86/stack-value-dwarf2.ll @@ -70,7 +70,7 @@ declare void @_ZN23ConditionPlatformHelper4waitERii(i32* dereferenceable(4), i32 ; Function Attrs: nounwind readnone declare void @llvm.dbg.value(metadata, metadata, metadata) #1 -attributes #0 = { nounwind "no-frame-pointer-elim-non-leaf" } +attributes #0 = { nounwind "frame-pointer"="non-leaf" } attributes #1 = { nounwind readnone } !llvm.dbg.cu = !{!0} diff --git a/test/Transforms/LoopVectorize/dbg.value.ll b/test/Transforms/LoopVectorize/dbg.value.ll index cc8df301982..7dabbfa9376 100644 --- a/test/Transforms/LoopVectorize/dbg.value.ll +++ b/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/test/Transforms/LoopVectorize/vectorize-once.ll b/test/Transforms/LoopVectorize/vectorize-once.ll index d407ac1719c..7a7a493ec2a 100644 --- a/test/Transforms/LoopVectorize/vectorize-once.ll +++ b/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/test/Transforms/Reassociate/reassociate-landingpad.ll b/test/Transforms/Reassociate/reassociate-landingpad.ll index 432cbed94ca..6adfbb0a7d6 100644 --- a/test/Transforms/Reassociate/reassociate-landingpad.ll +++ b/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/test/Transforms/SimplifyCFG/volatile-phioper.ll b/test/Transforms/SimplifyCFG/volatile-phioper.ll index c366d059d33..1a07ba35314 100644 --- a/test/Transforms/SimplifyCFG/volatile-phioper.ll +++ b/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} diff --git a/test/tools/llvm-objdump/X86/disassemble-archive-with-source.ll b/test/tools/llvm-objdump/X86/disassemble-archive-with-source.ll index 151254978d8..2fbbe12a184 100644 --- a/test/tools/llvm-objdump/X86/disassemble-archive-with-source.ll +++ b/test/tools/llvm-objdump/X86/disassemble-archive-with-source.ll @@ -25,7 +25,7 @@ entry: declare void @llvm.dbg.declare(metadata, metadata, metadata) #1 -attributes #0 = { noinline nounwind optnone sspstrong uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { noinline nounwind optnone sspstrong uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "frame-pointer"="non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { nounwind readnone speculatable } !llvm.dbg.cu = !{!0}