[Mlir-commits] [mlir] [MLIR][Linalg] Fix LinalgSpecializeGenericOpsPass for scalar inputs (PR #208466)

Hugo Trachino llvmlistbot at llvm.org
Mon Jul 13 05:13:04 PDT 2026


================

----------------
nujaa wrote:

Removed `%0` and unnecessary operator inside `linalg.generic`. 
> Make it require at most 2 indexing maps.

This error happens only if there are multiple inputs. so there is necessarily 2 maps for the inputs and 1 for the output. (shared with input). I am not sure I understand correctly what you meant.

> Perhaps reduce to linalg.generic on scalars?

You mean having both inputs scalars ? 

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


More information about the Mlir-commits mailing list