mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-02 21:17:17 +00:00
[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'). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242218 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user