[Mlir-commits] [mlir] [mlir][linalg] Add Check for Reduction Operation in Contraction Body (PR #123134)
Javed Absar
llvmlistbot at llvm.org
Thu Jan 16 03:42:21 PST 2025
================
@@ -281,6 +281,12 @@ bool mlir::linalg::detail::isContractionBody(
Value yielded = getSourceSkipUnary(terminator->getOperand(0));
Operation *reductionOp = yielded.getDefiningOp();
+
----------------
javedabsar1 wrote:
Good catch. This code sort of pre-supposed that is is ContractionBody :)
https://github.com/llvm/llvm-project/pull/123134
More information about the Mlir-commits
mailing list