Replace uses of unwind with unreachable for the same effect.
authorBill Wendling <isanbard@gmail.com>
Mon, 19 Sep 2011 22:16:15 +0000 (22:16 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 19 Sep 2011 22:16:15 +0000 (22:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140077 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/TailCallElim/reorder_load.ll

index 7f8af7ea147656b09f41c5b6c3671c06ed813cd2..7f5c36e4a207bf66611db5ef76a5adda27671406 100644 (file)
@@ -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]