diff options
author | Xinliang David Li <davidxl@google.com> | 2016-07-01 05:59:55 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-07-01 05:59:55 +0000 |
commit | 94734eef33591117476286b22dc2927c3626d35e (patch) | |
tree | 32fa0e8d282cfc77328ba7bcb27e88fdee775b7d /llvm/lib/Transforms/Scalar/LoopDistribute.cpp | |
parent | 93926acbb2d8ca122df8fc47d96b90ebdeb0ade3 (diff) | |
download | llvm-94734eef33591117476286b22dc2927c3626d35e.zip llvm-94734eef33591117476286b22dc2927c3626d35e.tar.gz llvm-94734eef33591117476286b22dc2927c3626d35e.tar.bz2 |
[PM] refactor LoopAccessInfo code part-2
Differential Revision: http://reviews.llvm.org/D21636
llvm-svn: 274334
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDistribute.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopDistribute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp index a07121e..88cec45 100644 --- a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp +++ b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp @@ -693,7 +693,7 @@ public: } // Don't distribute the loop if we need too many SCEV run-time checks. - const SCEVUnionPredicate &Pred = LAI->PSE.getUnionPredicate(); + const SCEVUnionPredicate &Pred = LAI->getPSE().getUnionPredicate(); if (Pred.getComplexity() > (IsForced.getValueOr(false) ? PragmaDistributeSCEVCheckThreshold : DistributeSCEVCheckThreshold)) @@ -722,7 +722,7 @@ public: 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->getPSE().getUnionPredicate()); LVer.versionLoop(DefsUsedOutside); LVer.annotateLoopWithNoAlias(); } |