diff options
| author | Reid Spencer <reid@x10sys.com> | 2007-08-01 23:07:36 +0000 |
|---|---|---|
| committer | Reid Spencer <reid@x10sys.com> | 2007-08-01 23:07:36 +0000 |
| commit | c6b896bafb3ccb076b2a2a51b96888d12393e133 (patch) | |
| tree | d8ae01588e674d64a84af3cdafa47e39d29de091 /test/Verifier | |
| parent | 4a6ab58a43e35728c9ea16ea34093417c2600ecb (diff) | |
| download | external_llvm-c6b896bafb3ccb076b2a2a51b96888d12393e133.zip external_llvm-c6b896bafb3ccb076b2a2a51b96888d12393e133.tar.gz external_llvm-c6b896bafb3ccb076b2a2a51b96888d12393e133.tar.bz2 | |
Make sure these tests pass for the right reasons (verifier error, rather than
failure to assemble).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Verifier')
| -rw-r--r-- | test/Verifier/invoke-1.ll | 10 | ||||
| -rw-r--r-- | test/Verifier/invoke-2.ll | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/Verifier/invoke-1.ll b/test/Verifier/invoke-1.ll index 362f268..dd606f0 100644 --- a/test/Verifier/invoke-1.ll +++ b/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/test/Verifier/invoke-2.ll b/test/Verifier/invoke-2.ll index b3a5750..5ab0386 100644 --- a/test/Verifier/invoke-2.ll +++ b/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() { |
