From cec45be796b88ed99b98411d31bd2ca6dd0fb876 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 22 Aug 2013 21:20:14 +0000 Subject: [PATCH] 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 --- test/CodeGen/ARM/struct-byval-frame-index.ll | 2 +- test/CodeGen/X86/fp-elim.ll | 8 ++++---- 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 ae68ce58001..04b1065ad04 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 583388cc713..2c50bd1be75 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 -- 2.34.1