[Mlir-commits] [mlir] [MLIR][NVVM] Update support for conversions to f8x2 and f6x2 types (PR #137781)
Durgadoss R
llvmlistbot at llvm.org
Mon May 12 09:43:15 PDT 2025
================
@@ -1120,6 +1121,153 @@ def NVVM_CvtToF6x2Op : NVVM_Op<"cvt.to.f6x2"> {
}];
}
+def CVTFP8E4M3 : I32EnumAttrCase<"E4M3", 0, "e4m3">;
+def CVTFP8E5M2 : I32EnumAttrCase<"E5M2", 1, "e5m2">;
+def CVTFP8UE8M0 : I32EnumAttrCase<"UE8M0", 2, "ue8m0">;
----------------
durga4github wrote:
Yes Guray, I brought this up on the first fp6 cvt Op review itself (more from a re-use perspective, though)
With a unified enum (let's say, for all the FP types), we may need to update/tighten the `verifiers` of many Ops to error out on unsupported types. Please let us know your thoughts on this.
https://github.com/llvm/llvm-project/pull/137781
More information about the Mlir-commits
mailing list