diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-03-10 07:21:50 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-03-10 07:21:50 +0000 |
commit | 5f4b355f209c772f438d33f3e60c04403d5462eb (patch) | |
tree | 25f6441aedb4ae5e89993b0ebaca6817ef24acd2 /llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll | |
parent | b5d11980d9c54e4a0ebb3873ef89054726643658 (diff) | |
download | bcm5719-llvm-5f4b355f209c772f438d33f3e60c04403d5462eb.tar.gz bcm5719-llvm-5f4b355f209c772f438d33f3e60c04403d5462eb.zip |
Remove llvm-upgrade and update tests.
llvm-svn: 48137
Diffstat (limited to 'llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll')
-rw-r--r-- | llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll b/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll index c3b4194e1e7..a0fe7817743 100644 --- a/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll +++ b/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll @@ -1,13 +1,15 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output +; RUN: llvm-as < %s | opt -simplifycfg -disable-output -bool %foo() { - %X = invoke bool %foo() to label %N unwind label %F -F: - ret bool false -N: - br bool %X, label %A, label %B -A: - ret bool true -B: - ret bool true +define i1 @foo() { + %X = invoke i1 @foo( ) + to label %N unwind label %F ; <i1> [#uses=1] +F: ; preds = %0 + ret i1 false +N: ; preds = %0 + br i1 %X, label %A, label %B +A: ; preds = %N + ret i1 true +B: ; preds = %N + ret i1 true } + |