diff options
author | Adam Nemet <anemet@apple.com> | 2015-07-14 22:32:44 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2015-07-14 22:32:44 +0000 |
commit | 7cdebac0c83b51b4252584ef1513d8e6a2dbff8b (patch) | |
tree | 5ad930945dbae351b0d6fc709f6042101d147b69 /llvm/lib/Transforms/Utils | |
parent | 9bbad03b9887e41bc0d5dccecc01237f39022102 (diff) | |
download | bcm5719-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')
-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 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) { |