diff options
author | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
commit | a86343512845c9c1fdbac865fea88aa5fce7142a (patch) | |
tree | 666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/IndVarSimplify/const_phi.ll | |
parent | 7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff) | |
download | bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.tar.gz bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.zip |
Temporarily Revert "Add basic loop fusion pass."
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/const_phi.ll')
-rw-r--r-- | llvm/test/Transforms/IndVarSimplify/const_phi.ll | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/const_phi.ll b/llvm/test/Transforms/IndVarSimplify/const_phi.ll deleted file mode 100644 index 33dc5514d3c..00000000000 --- a/llvm/test/Transforms/IndVarSimplify/const_phi.ll +++ /dev/null @@ -1,33 +0,0 @@ -; RUN: opt < %s -indvars -S | FileCheck %s - -target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" - -; PR25372 -; We can compute the expression of %phi0 and that is a SCEV -; constant. However, instcombine can't deduce this, so we can -; potentially end up trying to handle a constant when replacing -; congruent IVs. - -; CHECK-LABEL: crash -define void @crash() { -entry: - br i1 false, label %not_taken, label %pre - -not_taken: - br label %pre - -pre: -; %phi0.pre and %phi1.pre are evaluated by SCEV to constant 0. - %phi0.pre = phi i32 [ 0, %entry ], [ 2, %not_taken ] - %phi1.pre = phi i32 [ 0, %entry ], [ 1, %not_taken ] - br label %loop - -loop: -; %phi0 and %phi1 are evaluated by SCEV to constant 0. - %phi0 = phi i32 [ 0, %loop ], [ %phi0.pre, %pre ] - %phi1 = phi i32 [ 0, %loop ], [ %phi1.pre, %pre ] - br i1 undef, label %exit, label %loop - -exit: - ret void -} |