[llvm-commits] [llvm] r40696 - in /llvm/trunk/test/Verifier: invoke-1.ll invoke-2.ll

Reid Spencer rspencer at reidspencer.com
Wed Aug 1 16:07:38 PDT 2007


Author: reid
Date: Wed Aug  1 18:07:36 2007
New Revision: 40696

URL: http://llvm.org/viewvc/llvm-project?rev=40696&view=rev
Log:
Make sure these tests pass for the right reasons (verifier error, rather than
failure to assemble).

Modified:
    llvm/trunk/test/Verifier/invoke-1.ll
    llvm/trunk/test/Verifier/invoke-2.ll

Modified: llvm/trunk/test/Verifier/invoke-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/invoke-1.ll?rev=40696&r1=40695&r2=40696&view=diff

==============================================================================
--- llvm/trunk/test/Verifier/invoke-1.ll (original)
+++ llvm/trunk/test/Verifier/invoke-1.ll Wed Aug  1 18:07:36 2007
@@ -1,10 +1,10 @@
-; RUN: not llvm-as < %s -o /dev/null -f
+; RUN: llvm-upgrade < %s | not llvm-as &| grep {not verify as correct}
 ; PR1042
 
 int %foo() {
-        %A = invoke int %foo( )
-                        to label %L unwind label %L             ; <int> [#uses=1]
+   %A = invoke int %foo( )
+        to label %L unwind label %L             ; <int> [#uses=1]
 
-L:              ; preds = %0, %0
-        ret int %A
+L: ; preds = %0, %0
+   ret int %A
 }

Modified: llvm/trunk/test/Verifier/invoke-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Verifier/invoke-2.ll?rev=40696&r1=40695&r2=40696&view=diff

==============================================================================
--- llvm/trunk/test/Verifier/invoke-2.ll (original)
+++ llvm/trunk/test/Verifier/invoke-2.ll Wed Aug  1 18:07:36 2007
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s -o /dev/null -f
+; RUN: llvm-upgrade < %s | not llvm-as -f &| grep {not verify as correct}
 ; PR1042
 
 int %foo() {





More information about the llvm-commits mailing list