mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +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:
parent
3b1d3068c3
commit
4e8061cbda
@ -154,6 +154,10 @@ bool LoopIndexSplit::runOnLoop(Loop *IncomingLoop, LPPassManager &LPM_Ref) {
|
||||
L = IncomingLoop;
|
||||
LPM = &LPM_Ref;
|
||||
|
||||
// FIXME - Nested loops makes dominator info updates tricky.
|
||||
if (!L->getSubLoops().empty())
|
||||
return false;
|
||||
|
||||
SE = &getAnalysis<ScalarEvolution>();
|
||||
DT = &getAnalysis<DominatorTree>();
|
||||
LI = &getAnalysis<LoopInfo>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user