From 7cdebac0c83b51b4252584ef1513d8e6a2dbff8b Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Tue, 14 Jul 2015 22:32:44 +0000 Subject: [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 --- llvm/lib/Transforms/Utils/LoopVersioning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp') 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) { -- cgit v1.2.3