diff options
author | Dan Gohman <gohman@apple.com> | 2009-02-16 00:56:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-02-16 00:56:15 +0000 |
commit | 74786c0f4360db7547f8a12980260b5b7a441627 (patch) | |
tree | b6c70648223bc2e9f62a6c4f33748f7c7d05b4da /test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll | |
parent | 926b0a27b9adf79b89042785b8496cced5a49883 (diff) | |
download | external_llvm-74786c0f4360db7547f8a12980260b5b7a441627.zip external_llvm-74786c0f4360db7547f8a12980260b5b7a441627.tar.gz external_llvm-74786c0f4360db7547f8a12980260b5b7a441627.tar.bz2 |
Rename IndVarsSimplify to IndVarSimplify, to be consistent with
the name used in the code that these tests are for.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll')
-rw-r--r-- | test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll b/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll new file mode 100644 index 0000000..afee7e1 --- /dev/null +++ b/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll @@ -0,0 +1,23 @@ +; RUN: llvm-as < %s | opt -indvars -disable-output + +define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() { +entry: + %tmp.7 = invoke i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector( ) + to label %invoke_cont.0 unwind label %cond_true.1 ; <i32> [#uses=2] + +cond_true.1: ; preds = %entry + unwind + +invoke_cont.0: ; preds = %entry + %tmp.4.i = bitcast i32 %tmp.7 to i32 ; <i32> [#uses=0] + %tmp.14.0.i5 = add i32 %tmp.7, -1 ; <i32> [#uses=1] + br label %no_exit.i + +no_exit.i: ; preds = %no_exit.i, %invoke_cont.0 + %tmp.14.0.i.0 = phi i32 [ %tmp.14.0.i, %no_exit.i ], [ %tmp.14.0.i5, %invoke_cont.0 ] ; <i32> [#uses=1] + %tmp.14.0.i = add i32 %tmp.14.0.i.0, -1 ; <i32> [#uses=1] + br label %no_exit.i +} + +declare i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector() + |