[Mlir-commits] [mlir] [mlir][vector] Linearization: push 'bit width' logic out of patterns (PR #136581)
Ivan Butygin
llvmlistbot at llvm.org
Wed Apr 30 15:16:58 PDT 2025
Hardcode84 wrote:
There are generic conversions like `populateSCFStructuralTypeConversionsAndLegality` https://github.com/llvm/llvm-project/blob/main/mlir/include/mlir/Dialect/SCF/Transforms/Patterns.h#L52 which will update scf loop-carried vars, yields, etc according to the type converter. So if we want to linearize vector types used in `scf.for` for example we don't need to write `scf.for`-specific patterns for linearization.
https://github.com/llvm/llvm-project/pull/136581
More information about the Mlir-commits
mailing list