mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Avoid nested loops at the moment.
llvm-svn: 41090
This commit is contained in:
parent
92df220df4
commit
d39b9d41bb
@ -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