summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-08-01 23:07:36 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-08-01 23:07:36 +0000
commitae4675226e4cb8df0283f0d7f3211ece04e70222 (patch)
tree1809007f98cf4cdf484dd0f0b801c41b9b4566ec
parent561b0c29a395dff62cdaf0be8aa5c2b550116490 (diff)
downloadbcm5719-llvm-ae4675226e4cb8df0283f0d7f3211ece04e70222.tar.gz
bcm5719-llvm-ae4675226e4cb8df0283f0d7f3211ece04e70222.zip
Make sure these tests pass for the right reasons (verifier error, rather than
failure to assemble). llvm-svn: 40696
-rw-r--r--llvm/test/Verifier/invoke-1.ll10
-rw-r--r--llvm/test/Verifier/invoke-2.ll2
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Verifier/invoke-1.ll b/llvm/test/Verifier/invoke-1.ll
index 362f2680993..dd606f09c82 100644
--- a/llvm/test/Verifier/invoke-1.ll
+++ b/llvm/test/Verifier/invoke-1.ll
@@ -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
}
diff --git a/llvm/test/Verifier/invoke-2.ll b/llvm/test/Verifier/invoke-2.ll
index b3a5750fee5..5ab038648db 100644
--- a/llvm/test/Verifier/invoke-2.ll
+++ b/llvm/test/Verifier/invoke-2.ll
@@ -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() {
OpenPOWER on IntegriCloud