[Mlir-commits] [mlir] [mlir][linalg] Add 'compute_element_type' to linalg.elementwise op. (PR #190566)
Javed Absar
llvmlistbot at llvm.org
Mon Apr 6 12:38:35 PDT 2026
javedabsar1 wrote:
>
> > If `compute_element_type` is not provided then input and output types must match.
>
> This is a change in semantics that will break a lot of things. Even if we do introduce `compute_element`, we should not change the original semantics of casting inputs to outputs.
The above is in fact the current semantics. And the way the 'compute_element_type' is defined is `precisely` to respect bcakward compatibility.
https://github.com/llvm/llvm-project/pull/190566
More information about the Mlir-commits
mailing list