aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LoopUnswitch
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-11-25 05:38:41 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-11-25 05:38:41 +0000
commit25798439da8c1a11512317dd38d6f0022a3d1f7d (patch)
treea58df3eed3663641e32966c302e2f4be1f2ad5b8 /test/Transforms/LoopUnswitch
parentf87ea4dd9ac9816131ee52ee6393c7b4012f2e68 (diff)
downloadexternal_llvm-25798439da8c1a11512317dd38d6f0022a3d1f7d.zip
external_llvm-25798439da8c1a11512317dd38d6f0022a3d1f7d.tar.gz
external_llvm-25798439da8c1a11512317dd38d6f0022a3d1f7d.tar.bz2
Reverting patch in revision 89758, initial attempt at fixing PR5373 has proven to be bogus.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopUnswitch')
-rw-r--r--test/Transforms/LoopUnswitch/5373.ll24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/Transforms/LoopUnswitch/5373.ll b/test/Transforms/LoopUnswitch/5373.ll
deleted file mode 100644
index 77b7835..0000000
--- a/test/Transforms/LoopUnswitch/5373.ll
+++ /dev/null
@@ -1,24 +0,0 @@
-; RUN: opt < %s -loop-unswitch -stats -disable-output |& grep "3 loop-unswitch - Number of branches unswitched"
-
-define noalias i32* @func_16(i32** %p_18, i32* %p_20) noreturn nounwind ssp {
-entry:
- %lnot = icmp eq i32** %p_18, null ; <i1> [#uses=1]
- %lnot6 = icmp eq i32* %p_20, null ; <i1> [#uses=1]
- br label %for.body
-
-for.body: ; preds = %cond.end, %entry
- br i1 %lnot, label %cond.end, label %cond.true
-
-cond.true: ; preds = %for.body
- tail call void @f()
- unreachable
-
-cond.end: ; preds = %for.body
- br i1 %lnot6, label %for.body, label %cond.true10
-
-cond.true10: ; preds = %cond.end
- tail call void @f()
- unreachable
-}
-
-declare void @f() noreturn