[Mlir-commits] [mlir] [mlir][scf] Uplift `scf.while` to `scf.for` (PR #76108)

Ivan Butygin llvmlistbot at llvm.org
Thu Dec 21 05:41:59 PST 2023


Hardcode84 wrote:

> Wouldn't this just be a good canonicalization for scf.while?

I'm not sure if making this a canonicalization is good idea. I can imagine lowering pipeline looking like `scf.for -> scf.while -> cf` and such canonicalization will actively fight against it.

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


More information about the Mlir-commits mailing list