mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. This involves a small interface change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,7 +43,7 @@ X("loops", "Natural Loop Construction", true);
|
||||
//
|
||||
bool LoopInfo::runOnFunction(Function &) {
|
||||
releaseMemory();
|
||||
LI->Calculate(getAnalysis<DominatorTree>()); // Update
|
||||
LI->Calculate(getAnalysis<DominatorTree>().getBase()); // Update
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user