[Mlir-commits] [mlir] [mlir][linalg][elementwise] Fold broadcast into new elementwise (PR #167626)
Julian Oppermann
llvmlistbot at llvm.org
Thu Dec 18 01:58:48 PST 2025
================
@@ -167,12 +167,12 @@ def LinalgInlineScalarOperandsPass : Pass<"linalg-inline-scalar-operands"> {
}
def LinalgFoldIntoElementwisePass : Pass<"linalg-fold-into-elementwise"> {
- let summary = "Fold transpose ops into elementwise";
+ let summary = "Fold transpose and broadcast ops into elementwise";
let dependentDialects = ["linalg::LinalgDialect"];
let description = [{
- Fold transpose ops that feed `linalg.elementwise` into the elementwise op
- by updating its indexing maps. `linalg.transpose` producers whose consumer
+ Fold transpose and broadcast ops that feed `linalg.elementwise` into the elementwise op
+ by updating its indexing maps. `linalg.transpose` and `linalg.broadcast` producers whose consumer
----------------
jopperm wrote:
Nit: The rest of the file seems to adhere to 80 cols in the description text.
https://github.com/llvm/llvm-project/pull/167626
More information about the Mlir-commits
mailing list