summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-12-24 16:02:47 -0800
committerFangrui Song <maskray@google.com>2019-12-24 16:05:15 -0800
commiteb16435b5e5df68d2410bbe4c08ef8ce8aa8b2f4 (patch)
treee292b4943e574e55d3be0f592099e1903f88736d /llvm/test/CodeGen/X86
parent502a77f125f43ffde57af34d3fd1b900248a91cd (diff)
downloadbcm5719-llvm-eb16435b5e5df68d2410bbe4c08ef8ce8aa8b2f4.tar.gz
bcm5719-llvm-eb16435b5e5df68d2410bbe4c08ef8ce8aa8b2f4.zip
Migrate function attribute "no-frame-pointer-elim-non-leaf" to "frame-pointer"="non-leaf" as cleanups after D56351
Diffstat (limited to 'llvm/test/CodeGen/X86')
-rw-r--r--llvm/test/CodeGen/X86/fp-elim.ll4
-rw-r--r--llvm/test/CodeGen/X86/leaf-fp-elim.ll2
-rw-r--r--llvm/test/CodeGen/X86/misched_phys_reg_assign_order.ll2
-rw-r--r--llvm/test/CodeGen/X86/pr20020.ll2
-rw-r--r--llvm/test/CodeGen/X86/tls-addr-non-leaf-function.ll2
-rw-r--r--llvm/test/CodeGen/X86/x86-shrink-wrapping.ll2
6 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/X86/fp-elim.ll b/llvm/test/CodeGen/X86/fp-elim.ll
index 65764d144a2..b644631d1d4 100644
--- a/llvm/test/CodeGen/X86/fp-elim.ll
+++ b/llvm/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/llvm/test/CodeGen/X86/leaf-fp-elim.ll b/llvm/test/CodeGen/X86/leaf-fp-elim.ll
index dfbfbf7d11c..4a4e9b444eb 100644
--- a/llvm/test/CodeGen/X86/leaf-fp-elim.ll
+++ b/llvm/test/CodeGen/X86/leaf-fp-elim.ll
@@ -6,7 +6,7 @@ target triple = "x86_64-apple-darwin11.0"
@msg = internal global i8* null ; <i8**> [#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/llvm/test/CodeGen/X86/misched_phys_reg_assign_order.ll b/llvm/test/CodeGen/X86/misched_phys_reg_assign_order.ll
index fd40d7f92e9..7231ea35b78 100644
--- a/llvm/test/CodeGen/X86/misched_phys_reg_assign_order.ll
+++ b/llvm/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/llvm/test/CodeGen/X86/pr20020.ll b/llvm/test/CodeGen/X86/pr20020.ll
index 56c12faaf70..2f554d11185 100644
--- a/llvm/test/CodeGen/X86/pr20020.ll
+++ b/llvm/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/llvm/test/CodeGen/X86/tls-addr-non-leaf-function.ll b/llvm/test/CodeGen/X86/tls-addr-non-leaf-function.ll
index 6ebced191e0..0d6c49acc63 100644
--- a/llvm/test/CodeGen/X86/tls-addr-non-leaf-function.ll
+++ b/llvm/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/llvm/test/CodeGen/X86/x86-shrink-wrapping.ll b/llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
index 7a8a3236069..d91ba93ffb4 100644
--- a/llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
+++ b/llvm/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" }
OpenPOWER on IntegriCloud