diff options
author | Xinliang David Li <davidxl@google.com> | 2016-06-09 03:22:39 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-06-09 03:22:39 +0000 |
commit | ecde1c7f3de37f009723645935afc1badacf79a7 (patch) | |
tree | 7b08cde1307bdb9a0985781ee117c75e0e395112 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | d3568e3ba32712603c2bfe53b2dafa948ec46a3e (diff) | |
download | llvm-ecde1c7f3de37f009723645935afc1badacf79a7.zip llvm-ecde1c7f3de37f009723645935afc1badacf79a7.tar.gz llvm-ecde1c7f3de37f009723645935afc1badacf79a7.tar.bz2 |
Revert r272194 No need for it if loop Analysis Manager is used
llvm-svn: 272243
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopVersioning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopVersioning.cpp b/llvm/lib/Transforms/Utils/LoopVersioning.cpp index 3e677d8..736d79a 100644 --- a/llvm/lib/Transforms/Utils/LoopVersioning.cpp +++ b/llvm/lib/Transforms/Utils/LoopVersioning.cpp @@ -268,7 +268,7 @@ public: // Now walk the identified inner loops. bool Changed = false; for (Loop *L : Worklist) { - const LoopAccessInfo &LAI = LAA->getResult().getInfo(L, ValueToValueMap()); + const LoopAccessInfo &LAI = LAA->getInfo(L, ValueToValueMap()); if (LAI.getNumRuntimePointerChecks() || !LAI.PSE.getUnionPredicate().isAlwaysTrue()) { LoopVersioning LVer(LAI, L, LI, DT, SE); |