diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-05 16:11:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-05 16:11:36 +0000 |
commit | 5d6bdae11811a4e540675c47c5b81935f3f35695 (patch) | |
tree | 6795c7aa8b180e19e29c7da49970870d78425ffa /test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll | |
parent | f4de7835822e39b5cd9f060ee350917067ffd8b8 (diff) | |
download | external_llvm-5d6bdae11811a4e540675c47c5b81935f3f35695.zip external_llvm-5d6bdae11811a4e540675c47c5b81935f3f35695.tar.gz external_llvm-5d6bdae11811a4e540675c47c5b81935f3f35695.tar.bz2 |
new testcases that simplifycfg breaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll')
-rw-r--r-- | test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll b/test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll new file mode 100644 index 0000000..25deb3b --- /dev/null +++ b/test/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll @@ -0,0 +1,10 @@ +; Do not remove the invoke! +; +; RUN: as < %s | opt -simplifycfg | dis | grep invoke + +int %test() { + invoke int %test() to label %Ret except label %Ret +Ret: + %A = add int 0, 1 + ret int %A +} |