[Mlir-commits] [mlir] [mlir][linalg] Align `elementwise` builder to do type-conversion of input to result type (PR #190566)
Julian Oppermann
llvmlistbot at llvm.org
Mon Apr 27 01:25:28 PDT 2026
================
@@ -4947,14 +4950,56 @@ void ElementwiseOp::regionBuilder(
SmallVector<Value> yields;
Value result;
+ // Cast input value to dst type.
+ // Only same-kind casts are valid (float to float, int to int).
----------------
jopperm wrote:
Should that be mentioned in the docs as well?
https://github.com/llvm/llvm-project/pull/190566
More information about the Mlir-commits
mailing list