aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-08-22 21:20:14 +0000
committerBill Wendling <isanbard@gmail.com>2013-08-22 21:20:14 +0000
commitcec45be796b88ed99b98411d31bd2ca6dd0fb876 (patch)
tree68f3f3ff681425fb4cebd39cab4ff3527e90c001
parent062cd9437ff0de45e321f8ddb04f876a4fd90e33 (diff)
downloadexternal_llvm-cec45be796b88ed99b98411d31bd2ca6dd0fb876.zip
external_llvm-cec45be796b88ed99b98411d31bd2ca6dd0fb876.tar.gz
external_llvm-cec45be796b88ed99b98411d31bd2ca6dd0fb876.tar.bz2
Fix some tests. The 'false' version just omits the attribute altogether.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189065 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/ARM/struct-byval-frame-index.ll2
-rw-r--r--test/CodeGen/X86/fp-elim.ll8
2 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/struct-byval-frame-index.ll b/test/CodeGen/ARM/struct-byval-frame-index.ll
index ae68ce5..04b1065 100644
--- a/test/CodeGen/ARM/struct-byval-frame-index.ll
+++ b/test/CodeGen/ARM/struct-byval-frame-index.ll
@@ -216,7 +216,7 @@ declare void @update_offset_params(i32, i32) #1
declare void @RestoreMVBlock8x8(i32, i32, %structN* byval nocapture, i32) #1
attributes #0 = { nounwind }
-attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="false" "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-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
!0 = metadata !{metadata !"any pointer", metadata !1}
!1 = metadata !{metadata !"omnipotent char", metadata !2}
diff --git a/test/CodeGen/X86/fp-elim.ll b/test/CodeGen/X86/fp-elim.ll
index 583388c..2c50bd1 100644
--- a/test/CodeGen/X86/fp-elim.ll
+++ b/test/CodeGen/X86/fp-elim.ll
@@ -4,7 +4,7 @@
; Implement -momit-leaf-frame-pointer
; rdar://7886181
-define i32 @t1() "no-frame-pointer-elim-non-leaf"="false" nounwind readnone {
+define i32 @t1() nounwind readnone {
entry:
; FP-ELIM-LABEL: t1:
; FP-ELIM-NEXT: movl
@@ -17,7 +17,7 @@ entry:
ret i32 10
}
-define void @t2() "no-frame-pointer-elim-non-leaf"="false" nounwind {
+define void @t2() nounwind {
entry:
; FP-ELIM-LABEL: t2:
; FP-ELIM-NOT: pushl %ebp
@@ -31,7 +31,7 @@ entry:
ret void
}
-define i32 @t3() "no-frame-pointer-elim-non-leaf"="true" nounwind readnone {
+define i32 @t3() "no-frame-pointer-elim-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"="true" nounwind {
+define void @t4() "no-frame-pointer-elim-non-leaf" nounwind {
entry:
; FP-ELIM-LABEL: t4:
; FP-ELIM-NEXT: pushl %ebp