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

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 10:03:29 PDT 2022


fhahn planned changes to this revision.
fhahn added a comment.

I'll update the patch.

At the moment, there appears to be an unfortunate side effect of running loop-simplify-cfg: it invalidates SCEVs for a simplified loop, which can pessimize SCEV trip count computations, e.g. because IndVarSimplify re-writes the bounds so that they are harder for SCEV to handle. I think before proceeding here we would need to make sure SCEV handles the re-written bounds as well as possible.


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