summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commitc9ed430a3a0c718a5914f0ac02d2b5870178180d (patch)
treedb2f88bcaa9457218a21d58f20960960538dce79 /llvm/test
parent17d1b6148007077120c07ee229374b6ca0cf1b3e (diff)
downloadbcm5719-llvm-c9ed430a3a0c718a5914f0ac02d2b5870178180d.tar.gz
bcm5719-llvm-c9ed430a3a0c718a5914f0ac02d2b5870178180d.zip
Fix some tests. The 'false' version just omits the attribute altogether.
llvm-svn: 189065
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/struct-byval-frame-index.ll2
-rw-r--r--llvm/test/CodeGen/X86/fp-elim.ll8
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/ARM/struct-byval-frame-index.ll b/llvm/test/CodeGen/ARM/struct-byval-frame-index.ll
index ae68ce58001..04b1065ad04 100644
--- a/llvm/test/CodeGen/ARM/struct-byval-frame-index.ll
+++ b/llvm/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/llvm/test/CodeGen/X86/fp-elim.ll b/llvm/test/CodeGen/X86/fp-elim.ll
index 583388cc713..2c50bd1be75 100644
--- a/llvm/test/CodeGen/X86/fp-elim.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud