aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
diff options
context:
space:
mode:
authorSilviu Baranga <silviu.baranga@arm.com>2015-12-09 15:25:28 +0000
committerSilviu Baranga <silviu.baranga@arm.com>2015-12-09 15:25:28 +0000
commitad1ccb357b81d58e4fa15a4239ad5da7230a8d0d (patch)
treedbc9d96ca19238ced92ff053c15ffde9b80b829a /llvm/lib/Transforms/Scalar/LoopDistribute.cpp
parent4514a87c4d6b13c61902cec4211d8dde72af8b44 (diff)
downloadllvm-ad1ccb357b81d58e4fa15a4239ad5da7230a8d0d.zip
llvm-ad1ccb357b81d58e4fa15a4239ad5da7230a8d0d.tar.gz
llvm-ad1ccb357b81d58e4fa15a4239ad5da7230a8d0d.tar.bz2
Revert r255115 until we figure out how to fix the bot failures.
llvm-svn: 255117
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDistribute.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopDistribute.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
index fce063a..67ebd25 100644
--- a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
@@ -761,7 +761,7 @@ private:
}
// Don't distribute the loop if we need too many SCEV run-time checks.
- const SCEVUnionPredicate &Pred = LAI.PSE.getUnionPredicate();
+ const SCEVUnionPredicate &Pred = LAI.Preds;
if (Pred.getComplexity() > DistributeSCEVCheckThreshold) {
DEBUG(dbgs() << "Too many SCEV run-time checks needed.\n");
return false;
@@ -790,7 +790,7 @@ private:
DEBUG(LAI.getRuntimePointerChecking()->printChecks(dbgs(), Checks));
LoopVersioning LVer(LAI, L, LI, DT, SE, false);
LVer.setAliasChecks(std::move(Checks));
- LVer.setSCEVChecks(LAI.PSE.getUnionPredicate());
+ LVer.setSCEVChecks(LAI.Preds);
LVer.versionLoop(DefsUsedOutside);
}