[PATCH] D47408: [PM/LoopUnswitch] Schedule loop-cleanup passes at the beginning of the loop pass pipeline, and re-enqueue loops after even trivial unswitching.
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 26 04:24:32 PDT 2018
chandlerc created this revision.
chandlerc added reviewers: asbirlea, sanjoy.
Herald added subscribers: hiraditya, eraman, mcrosier, mehdi_amini.
This will allow us to much more consistently avoid simplifying code
while doing trivial unswitching. I've also added a test case that
specifically shows effective iteration using this technique.
I've only really updated the new PM here as we're not using
SimpleLoopUnswitch in the legacy PM.
Hopefully this will unblock doing *partial* unswitching instead of just
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9698 bytes
Desc: not available
More information about the llvm-commits