aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-06-16 08:26:56 +0000
committerAdam Nemet <anemet@apple.com>2016-06-16 08:26:56 +0000
commitbdbc5227ce8b57637da6ac0c4f52c29c0d311eeb (patch)
tree7e8e8b1f516725fac62a89fa2458a68bc51c526e /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parente27a4f96fa1faceac9019c4f9ffa867de0ab42ae (diff)
downloadllvm-bdbc5227ce8b57637da6ac0c4f52c29c0d311eeb.zip
llvm-bdbc5227ce8b57637da6ac0c4f52c29c0d311eeb.tar.gz
llvm-bdbc5227ce8b57637da6ac0c4f52c29c0d311eeb.tar.bz2
[LAA] Default getInfo to not speculate symbolic strides. NFC
Soon we won't be passing Strides to getInfo and then we'll have fewer call sites to update. llvm-svn: 272878
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopVersioning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopVersioning.cpp b/llvm/lib/Transforms/Utils/LoopVersioning.cpp
index 65d781b..baf1a87 100644
--- a/llvm/lib/Transforms/Utils/LoopVersioning.cpp
+++ b/llvm/lib/Transforms/Utils/LoopVersioning.cpp
@@ -277,7 +277,7 @@ public:
// Now walk the identified inner loops.
bool Changed = false;
for (Loop *L : Worklist) {
- const LoopAccessInfo &LAI = LAA->getInfo(L, ValueToValueMap());
+ const LoopAccessInfo &LAI = LAA->getInfo(L);
if (LAI.getNumRuntimePointerChecks() ||
!LAI.PSE.getUnionPredicate().isAlwaysTrue()) {
LoopVersioning LVer(LAI, L, LI, DT, SE);