Rename -disable-required-unwind-tables to -unwind-tables-optional.
authorDale Johannesen <dalej@apple.com>
Tue, 8 Apr 2008 18:10:08 +0000 (18:10 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 8 Apr 2008 18:10:08 +0000 (18:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49391 91177308-0d34-0410-b5e6-96231b3b80d8

16 files changed:
test/CodeGen/PowerPC/compare-fcmp-ord.ll
test/CodeGen/PowerPC/fold-li.ll
test/CodeGen/PowerPC/reg-coalesce-simple.ll
test/CodeGen/PowerPC/rotl-2.ll
test/CodeGen/X86/2006-03-02-InstrSchedBug.ll
test/CodeGen/X86/2006-05-02-InstrSched1.ll
test/CodeGen/X86/2006-05-02-InstrSched2.ll
test/CodeGen/X86/2006-05-11-InstrSched.ll
test/CodeGen/X86/2007-09-17-ObjcFrameEH.ll
test/CodeGen/X86/constant-pool-remat-0.ll
test/CodeGen/X86/dagcombine-cse.ll
test/CodeGen/X86/iabs.ll
test/CodeGen/X86/or-branch.ll
test/CodeGen/X86/select.ll
test/CodeGen/X86/setuge.ll
test/CodeGen/X86/zero-remat.ll

index fc770f9028ce7bb5a17ed3e125cbd4ac821db9fd..76732d042687897ea801d2a9e13a57fda1782725 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep or | count 3
+; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | grep or | count 3
 ; This should produce one 'or' or 'cror' instruction per function.
 
 define i32 @test(double %x, double %y) nounwind  {
index c59305fc32d657e6b5712e3646ef75587ee561a1..89d5d64a8e684ae95aac01575c102a78bf25bc86 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | \
+; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | \
 ; RUN:   grep -v align | not grep li
 
 ;; Test that immediates are folded into these instructions correctly.
index e3464139e1eb1b39b21d54ce923fd01906b8a26e..618ed99ead7daba1b46c870d141739a5dd4e0757 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | not grep or
+; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | not grep or
 
 %struct.foo = type { i32, i32, [0 x i8] }
 
index 8336421539f4edb1abdf91a9412f1dd981fd231c..a39aa89b607337b706b12fbec6177f222756f694 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep rlwinm | count 4
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | grep rlwnm | count 2
-; RUN: llvm-as < %s | llc -march=ppc32 -disable-required-unwind-tables | not grep or
+; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | grep rlwinm | count 4
+; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | grep rlwnm | count 2
+; RUN: llvm-as < %s | llc -march=ppc32 -unwind-tables-optional | not grep or
 
 define i32 @rotl32(i32 %A, i8 %Amt) nounwind {
        %shift.upgrd.1 = zext i8 %Amt to i32            ; <i32> [#uses=1]
index f3382c77926b2ad060b01b6dd682ff735f9c6c60..b98b070b186ac376088e29316b3d22d82de8cdf7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -disable-required-unwind-tables -stats |& \
+; RUN: llvm-as < %s | llc -march=x86 -unwind-tables-optional -stats |& \
 ; RUN:   grep asm-printer | grep 7
 
 define i32 @g(i32 %a, i32 %b) nounwind {
index 075b32ed7eac8cd4d317d5b2dac8e37083dea50a..913c2d4ccb3467bde2ae2ec2c813dc6eaf4f3f98 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | \
-; RUN:   llc -march=x86 -relocation-model=static -disable-required-unwind-tables -stats |& \
+; RUN:   llc -march=x86 -relocation-model=static -unwind-tables-optional -stats |& \
 ; RUN:   grep asm-printer | grep 14
 ;
 @size20 = external global i32          ; <i32*> [#uses=1]
index 6ba30bfdf6460700e3af409c544129c19599db21..4d61463558694fb9cbe5b17488fe11c41d29f919 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -stats -disable-required-unwind-tables |& \
+; RUN: llvm-as < %s | llc -march=x86 -stats -unwind-tables-optional |& \
 ; RUN:   grep asm-printer | grep 13
 
 define void @_ZN9__gnu_cxx9hashtableISt4pairIKPKciES3_NS_4hashIS3_EESt10_Select1stIS5_E5eqstrSaIiEE14find_or_insertERKS5__cond_true456.i(i8* %tmp435.i, i32* %tmp449.i.out) nounwind {
index 9d1c67a4f34c65445b614a4caff4383f4c372cfa..27529befd1944983e0c807c2c25b661bc86453e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -disable-required-unwind-tables |&\
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -unwind-tables-optional |&\
 ; RUN:     grep {asm-printer} | grep 32
 
 target datalayout = "e-p:32:32"
index 9935f4c9c4306dead599c74e8e0080bd31a19560..6ba5c6fc78f2bc894de7c05e596596577142b3bd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin -enable-eh -disable-required-unwind-tables | grep {isNullOrNil].eh"} | count 2
+; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin -enable-eh -unwind-tables-optional | grep {isNullOrNil].eh"} | count 2
 
        %struct.NSString = type {  }
        %struct._objc__method_prototype_list = type opaque
index 9967bf8909ab033f8cc28c2ae0c6648fb17934c2..ef7b1717a4157aeb72cf7a232283ae5180d967b9 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | count 3
-; RUN: llvm-as < %s | llc -march=x86-64 -stats -disable-required-unwind-tables -info-output-file - | grep asm-printer | grep 6
+; RUN: llvm-as < %s | llc -march=x86-64 -stats -unwind-tables-optional -info-output-file - | grep asm-printer | grep 6
 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep LCPI | count 3
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -disable-required-unwind-tables -info-output-file - | grep asm-printer | grep 8
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats -unwind-tables-optional -info-output-file - | grep asm-printer | grep 8
 
 declare fastcc float @qux(float %y)
 
index d5d11f30c031f2b3f717683aac976498d1d64b09..b210bec94246d8f75e810acf4ad0314a6457b805 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -disable-required-unwind-tables -stats |& grep asm-printer | grep 14
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -unwind-tables-optional -stats |& grep asm-printer | grep 14
 
 define i32 @t(i8* %ref_frame_ptr, i32 %ref_frame_stride, i32 %idxX, i32 %idxY) nounwind  {
 entry:
index dd390395fdb79acb71c3a6b7ce215fd2d53e426e..e4078f1e8a61371eefc586c65fbe880bffd5110f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64 -stats -disable-required-unwind-tables |& \
+; RUN: llvm-as < %s | llc -march=x86-64 -stats -unwind-tables-optional |& \
 ; RUN:   grep {6 .*Number of machine instrs printed}
 
 ;; Integer absolute value, should produce something at least as good as:
index 820c995ce4f81992928a1ac839be4d0909564913..6f6002f7c3cb32cc8abfd41965a3b6a063abaca4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -disable-required-unwind-tables | not grep set
+; RUN: llvm-as < %s | llc -march=x86 -unwind-tables-optional | not grep set
 
 define void @foo(i32 %X, i32 %Y, i32 %Z) nounwind {
 entry:
index aeb0f7d9f94d02d7d51ded4fb1d8b0176db68ec8..3acaa172e18f977017264a16b27d73a47c4fe172 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=pentium -disable-required-unwind-tables
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -disable-required-unwind-tables
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -disable-required-unwind-tables | not grep set
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=pentium -unwind-tables-optional
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -unwind-tables-optional
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -unwind-tables-optional | not grep set
 
 define i1 @boolSel(i1 %A, i1 %B, i1 %C) nounwind {
        %X = select i1 %A, i1 %B, i1 %C         ; <i1> [#uses=1]
index 37dff15d2004bfbb9395f3d06685577ee3c4438c..11dc753377db6081aa3e0bd41f1ecdd7e057ec9c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -disable-required-unwind-tables | not grep set
+; RUN: llvm-as < %s | llc -march=x86 -unwind-tables-optional | not grep set
 
 declare i1 @llvm.isunordered.f32(float, float)
 
index dc0322682f2aa5b9910ffaa884f259950311d494..d4865634664d7ffd246f0b1f1b2b6ee5a77c5d65 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -march=x86-64 | grep xor | count 4
-; RUN: llvm-as < %s | llc -march=x86-64 -stats -disable-required-unwind-tables -info-output-file - | grep asm-printer  | grep 12
+; RUN: llvm-as < %s | llc -march=x86-64 -stats -unwind-tables-optional -info-output-file - | grep asm-printer  | grep 12
 ; RUN: llvm-as < %s | llc -march=x86 | grep fldz
 ; RUN: llvm-as < %s | llc -march=x86 | not grep fldl