diff options
author | Silviu Baranga <silviu.baranga@arm.com> | 2015-12-09 15:25:28 +0000 |
---|---|---|
committer | Silviu Baranga <silviu.baranga@arm.com> | 2015-12-09 15:25:28 +0000 |
commit | ad1ccb357b81d58e4fa15a4239ad5da7230a8d0d (patch) | |
tree | dbc9d96ca19238ced92ff053c15ffde9b80b829a /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 4514a87c4d6b13c61902cec4211d8dde72af8b44 (diff) | |
download | llvm-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/Utils/LoopVersioning.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopVersioning.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopVersioning.cpp b/llvm/lib/Transforms/Utils/LoopVersioning.cpp index 9a2a06c..cc3ff5d 100644 --- a/llvm/lib/Transforms/Utils/LoopVersioning.cpp +++ b/llvm/lib/Transforms/Utils/LoopVersioning.cpp @@ -32,7 +32,7 @@ LoopVersioning::LoopVersioning(const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI, assert(L->getLoopPreheader() && "No preheader"); if (UseLAIChecks) { setAliasChecks(LAI.getRuntimePointerChecking()->getChecks()); - setSCEVChecks(LAI.PSE.getUnionPredicate()); + setSCEVChecks(LAI.Preds); } } @@ -58,7 +58,7 @@ void LoopVersioning::versionLoop( LAI.addRuntimeChecks(RuntimeCheckBB->getTerminator(), AliasChecks); assert(MemRuntimeCheck && "called even though needsAnyChecking = false"); - const SCEVUnionPredicate &Pred = LAI.PSE.getUnionPredicate(); + const SCEVUnionPredicate &Pred = LAI.Preds; SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(), "scev.check"); SCEVRuntimeCheck = |