[Mlir-commits] [mlir] [mlir][scf] `scf.while` uplifting: Add preparation patterns. (PR #89222)

Ivan Butygin llvmlistbot at llvm.org
Thu Apr 18 15:57:20 PDT 2024


Hardcode84 wrote:

> Can we also expose the APIs without forcing to use patterns?
I can imagine an uplifting pass avoiding to use the greedy rewriter.

I can do it, but this pattern sinks one op at the time and expected to be applied repeatedly, should we ask user to do it or add an implicit loop to the version exposed to user?

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


More information about the Mlir-commits mailing list