mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +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…
Reference in New Issue
Block a user