[PATCH] D112840: [PassManager] `buildFunctionSimplificationPipeline()`: schedule another `LoopDeletion` pass run before last `LICM`

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 29 15:06:58 PDT 2021


aeubanks added a comment.

In D112840#3097842 <https://reviews.llvm.org/D112840#3097842>, @lebedev.ri wrote:

> Hmm, actually, i looked, and we catch a lot more cases if we do this in `buildModuleOptimizationPipeline()`, so let me do that instead. BRB.

it'd be nice to make this work in the function simplification pipeline so that more passes have a chance to take advantage of deleted loops, e.g. the inliner
putting passes at the end of the pipeline doesn't seem ideal unless there's a specific reason for it


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112840



More information about the llvm-commits mailing list