summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2015-07-14 22:32:44 +0000
committerAdam Nemet <anemet@apple.com>2015-07-14 22:32:44 +0000
commit7cdebac0c83b51b4252584ef1513d8e6a2dbff8b (patch)
tree5ad930945dbae351b0d6fc709f6042101d147b69 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent9bbad03b9887e41bc0d5dccecc01237f39022102 (diff)
downloadbcm5719-llvm-7cdebac0c83b51b4252584ef1513d8e6a2dbff8b.tar.gz
bcm5719-llvm-7cdebac0c83b51b4252584ef1513d8e6a2dbff8b.zip
[LAA] Lift RuntimePointerCheck out of LoopAccessInfo, NFC
I am planning to add more nested classes inside RuntimePointerCheck so all these triple-nesting would be hard to follow. Also rename it to RuntimePointerChecking (i.e. append 'ing'). llvm-svn: 242218
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 edfe67bfa49..832079d2cf6 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,
}
bool LoopVersioning::needsRuntimeChecks() const {
- return LAI.getRuntimePointerCheck()->needsAnyChecking(PtrToPartition);
+ return LAI.getRuntimePointerChecking()->needsAnyChecking(PtrToPartition);
}
void LoopVersioning::versionLoop(Pass *P) {
OpenPOWER on IntegriCloud