[Mlir-commits] [mlir] [MLIR][NVVM] Add support for f6x2 conversion (PR #136537)

Durgadoss R llvmlistbot at llvm.org
Tue Apr 22 11:54:10 PDT 2025


================
@@ -133,6 +134,33 @@ LogicalResult CvtFloatToTF32Op::verify() {
   return success();
 }
 
+bool CvtToF6x2Op::isPacked() {
+  if (getDst().getType().isInteger(16)) {
+    return true;
+  }
+  return false;
----------------
durga4github wrote:

Why not just return "getDst().getType().isInteger(16)";

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


More information about the Mlir-commits mailing list