[Mlir-commits] [mlir] [mlir][scf] Add simple LICM pattern for `scf.while` (PR #76370)

Mehdi Amini llvmlistbot at llvm.org
Fri Jan 19 16:49:04 PST 2024


joker-eph wrote:

> As I said previously, I can live with the LICM being separate pass, the big limitation of this approach is that Upstream currently missing a facility to run sequence of passes until fixed point is reached.

The implementation of the canonicalization pass is ~20 lines of code, it should be fairly trivial to write another one downstream that adds more patterns, or even (for example) interleave CSE and canonicalization until fixed-point?

https://github.com/llvm/llvm-project/pull/76370


More information about the Mlir-commits mailing list