mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Avoid nested loops at the moment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -154,6 +154,10 @@ bool LoopIndexSplit::runOnLoop(Loop *IncomingLoop, LPPassManager &LPM_Ref) {
|
|||||||
L = IncomingLoop;
|
L = IncomingLoop;
|
||||||
LPM = &LPM_Ref;
|
LPM = &LPM_Ref;
|
||||||
|
|
||||||
|
// FIXME - Nested loops makes dominator info updates tricky.
|
||||||
|
if (!L->getSubLoops().empty())
|
||||||
|
return false;
|
||||||
|
|
||||||
SE = &getAnalysis<ScalarEvolution>();
|
SE = &getAnalysis<ScalarEvolution>();
|
||||||
DT = &getAnalysis<DominatorTree>();
|
DT = &getAnalysis<DominatorTree>();
|
||||||
LI = &getAnalysis<LoopInfo>();
|
LI = &getAnalysis<LoopInfo>();
|
||||||
|
Reference in New Issue
Block a user