[PATCH] D100780: [Passes] Add extra LoopSimplifyCFG run after IndVarSimplify.

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 23:06:22 PDT 2022


aeubanks added a comment.

In D100780#3504820 <https://reviews.llvm.org/D100780#3504820>, @xbolva00 wrote:

>>> This could be done by either exposing a simplifyLoopCFG helper function ...
>
> This variant sounds better, if possible.

+1, at least for this case where it's a simple cleanup

in other cases, such as D125293 <https://reviews.llvm.org/D125293> and D115052 <https://reviews.llvm.org/D115052> where we want to do more general cleanup due to added/lowered code, I believe @asbirlea has future plans to add new PM infra to conditionally run passes for simplification pipeline work


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100780/new/

https://reviews.llvm.org/D100780



More information about the llvm-commits mailing list