[Mlir-commits] [mlir] [MLIR][NVVM] Update dot.accumulate NVVM Ops (PR #140518)

Durgadoss R llvmlistbot at llvm.org
Tue May 20 02:35:30 PDT 2025


================
@@ -3508,6 +3513,84 @@ def NVVM_DotAccumulate4WayOp : NVVM_Op<"dot.accumulate.4way"> {
   }];
 }
 
+def DotAccumulate2WayModeLo : I32EnumAttrCase<"LO", 0, "lo">;
+def DotAccumulate2WayModeHi : I32EnumAttrCase<"HI", 1, "hi">;
----------------
durga4github wrote:

I think we can simplify this.
Since we only have `lo` or `hi`, can we have a boolAttr with a default value representing `lo` (or `hi`)?

Then, we do not need this separate lo/hi enum attribute


https://github.com/llvm/llvm-project/pull/140518


More information about the Mlir-commits mailing list