[Mlir-commits] [mlir] [MLIR][NVVM] Add nvvm.fadd and nvvm.fsub Ops (PR #179162)

Durgadoss R llvmlistbot at llvm.org
Sun Feb 1 22:30:08 PST 2026


================
@@ -1862,12 +1860,12 @@ def FPRoundingModeAttr : EnumAttr<NVVM_Dialect, FPRoundingMode, "fp_rnd_mode"> {
   let assemblyFormat = "`<` $value `>`";
 }
 
-def SaturationModeNone   : I32EnumAttrCase<"NONE", 0, "none">;
-def SaturationModeFinite : I32EnumAttrCase<"SATFINITE", 1, "satfinite">;
+def SaturationModeNone   : I32EnumCase<"NONE", 0, "none">;
+def SaturationModeFinite : I32EnumCase<"SATFINITE", 1, "satfinite">;
+def SaturationModeSat    : I32EnumCase<"SAT", 2, "sat">;
----------------
durga4github wrote:

The `sat` needs some docs since it has different behaviors depending on whether it's used with integers or floats. So, let us add docs for this attribute since we are updating it anyway.

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


More information about the Mlir-commits mailing list