[Mlir-commits] [mlir] [mlir][Conversion] Raise SCF to Affine. (Ported from Polygeist) (PR #158267)

Terapines MLIR llvmlistbot at llvm.org
Sun Sep 14 19:09:26 PDT 2025


terapines-osc-mlir wrote:

> What's the overall motivation behind this raising pass?

Some MLIR frontends like ClangIR, Flang and downstream projects generate SCF loops by default.
This raising unlocks advanced analysis and polyhedral-style optimizations available in the Affine dialect.

I have edited the first comment and the RFC link is attached. :handshake: 

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


More information about the Mlir-commits mailing list