Index: mlir/lib/Dialect/Vector/VectorOps.cpp =================================================================== --- mlir/lib/Dialect/Vector/VectorOps.cpp +++ mlir/lib/Dialect/Vector/VectorOps.cpp @@ -371,16 +371,28 @@ builder.getStringAttr("mul"), vector, ValueRange{}); case AtomicRMWKind::minf: + return builder.create(vector.getLoc(), scalarType, + builder.getStringAttr("minf"), + vector, ValueRange{}); case AtomicRMWKind::mins: + return builder.create(vector.getLoc(), scalarType, + builder.getStringAttr("minsi"), + vector, ValueRange{}); case AtomicRMWKind::minu: return builder.create(vector.getLoc(), scalarType, - builder.getStringAttr("min"), + builder.getStringAttr("minui"), vector, ValueRange{}); case AtomicRMWKind::maxf: + return builder.create(vector.getLoc(), scalarType, + builder.getStringAttr("maxf"), + vector, ValueRange{}); case AtomicRMWKind::maxs: + return builder.create(vector.getLoc(), scalarType, + builder.getStringAttr("maxsi"), + vector, ValueRange{}); case AtomicRMWKind::maxu: return builder.create(vector.getLoc(), scalarType, - builder.getStringAttr("max"), + builder.getStringAttr("maxui"), vector, ValueRange{}); // TODO: Add remaining reduction operations. default: