[PATCH] D28848: [PM] Teach LoopUnroll to update the LPM infrastructure as it unrolls loops.
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 18 00:07:11 PST 2017
chandlerc created this revision.
Herald added subscribers: mzolotukhin, mcrosier, mehdi_amini.
We do this by reconstructing the newly added loops after the unroll
completes to avoid threading pass manager details through all the mess
of the unrolling infrastructure.
I've enabled some extra assertions in the LPM to try and catch issues
here and enabled a bunch of unroller tests to try and make sure this is
Currently, I'm manually running loop-simplify when needed. That should
go away once it is folded into the LPM infrastructure.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14756 bytes
Desc: not available
More information about the llvm-commits