llvm-project
b956f049 - [mlir][linalg] Vectorize directly to a named contraction (#147296)

Commit
72 days ago
[mlir][linalg] Vectorize directly to a named contraction (#147296) Extends linalg vectorizer with a path to lower contraction ops directly into `vector.contract`. The direct rewriting preserves high-level op semantics and provides more progressive lowering compared to reconstructing contraction back from multi dimensional reduction. The added lowering focuses on named linalg ops and leverages their well defined semantics to avoid complex precondition verification. The new path is optional and disabled by default to avoid changing the default vectorizer behavior.
Author
Parents
Loading