[Mlir-commits] [mlir] [MLIR][NVVM] Update redux.sync op (PR #166125)
Srinivasa Ravi
llvmlistbot at llvm.org
Mon Nov 3 03:12:36 PST 2025
================
@@ -1577,6 +1563,32 @@ LogicalResult NVVM::ClusterLaunchControlQueryCancelOp::verify() {
return success();
}
+LogicalResult NVVM::ReduxOp::verify() {
+ mlir::Type reduxType = getType();
+
+ if (!reduxType.isF32() && getAbs())
+ return emitOpError("abs attribute is supported only for f32 type");
+
+ if (!reduxType.isF32() && getNan())
+ return emitOpError("nan attribute is supported only for f32 type");
----------------
Wolfram70 wrote:
Fixed
https://github.com/llvm/llvm-project/pull/166125
More information about the Mlir-commits
mailing list