[PATCH] D123408: [InstCombine] Limit folding of cast into PHI

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 12:23:08 PDT 2022


tschuett added a comment.

Deoptimize in instcombine in favour of the LV sounds like an anti-pattern. Do you deoptimize in favour of PGO?

Maybe have a instcombine.rst: We optimize anything we can. There are some limits here. We delegate some optimizations to FOO. We never deoptimize in favour of other passes.


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

https://reviews.llvm.org/D123408



More information about the llvm-commits mailing list