aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/TailCallElim
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-09-19 22:16:15 +0000
committerBill Wendling <isanbard@gmail.com>2011-09-19 22:16:15 +0000
commit463158fdb89001d398520cfc1cbb5f1384623dd8 (patch)
tree5e6d5de3f9253ce7dcdcd1b862d2065184c0a25d /test/Transforms/TailCallElim
parent803c9d33be12870312cbec82b2407a9f90b583e5 (diff)
Replace uses of unwind with unreachable for the same effect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/TailCallElim')
-rw-r--r--test/Transforms/TailCallElim/reorder_load.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/TailCallElim/reorder_load.ll b/test/Transforms/TailCallElim/reorder_load.ll
index 7f8af7ea14..7f5c36e4a2 100644
--- a/test/Transforms/TailCallElim/reorder_load.ll
+++ b/test/Transforms/TailCallElim/reorder_load.ll
@@ -43,7 +43,7 @@ else: ; preds = %entry
br i1 %nullcheck, label %unwind, label %recurse
unwind: ; preds = %else
- unwind
+ unreachable
recurse: ; preds = %else
%tmp7 = add i32 %start_arg, 1 ; <i32> [#uses=1]
@@ -89,7 +89,7 @@ else: ; preds = %entry
br i1 %nullcheck, label %unwind, label %recurse
unwind: ; preds = %else
- unwind
+ unreachable
recurse: ; preds = %else
%tmp7 = add i32 %start_arg, 1 ; <i32> [#uses=1]