[PATCH] D46706: [PM/LoopUnswitch] Support partial trivial unswitching.

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 21:01:22 PDT 2018


hfinkel added a comment.

> and instead re-add the now mutated loop to the pass manager to re-visit (much like we do with non-trivial unswitching) and rely on it then iterating for us. This will ... not be a somewhat surprisingly significant behavior change. I think its good, but its worth noting. This will essentially make loop-unswitch a fixed-point pass in the pass pipeline, but it will do so using the pass manager. I'm not aware of any other passes that currently do this. Anyways, brave new world. The pipeline will now be ... truly dynamic.

That's really nice :-)


Repository:
  rL LLVM

https://reviews.llvm.org/D46706





More information about the llvm-commits mailing list