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
This commit is contained in:
Bill Wendling 2013-08-22 21:20:14 +00:00
parent 062cd9437f
commit cec45be796
2 changed files with 5 additions and 5 deletions

View File

@ -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}

View File

@ -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