[Mlir-commits] [mlir] [MLIR][NVVM] Add support for narrow-fp to bf16x2 conversions (PR #200157)

Guray Ozen llvmlistbot at llvm.org
Thu May 28 06:40:05 PDT 2026


================
@@ -2185,32 +2185,52 @@ class NVVM_ConvertToFP16x2Op_Base <string srcType, Type srcArgType, string dstTy
     !tolower(dstType) # [{.
 
     The result `dst` is represented as a vector of }] # !tolower(dstType) # [{ elements.
-    }] #
-    !if(!eq(dstType, "F16"),
-    [{The `relu` attribute, when set, lowers to the '.relu' variant of 
-    the cvt instruction."}], "") # [{
+
+    The `relu` attribute, when set, lowers to the '.relu' variant of 
+    the cvt instruction.}] #
+
+    !if(!eq(dstType, "BF16"),
----------------
grypp wrote:

does this render fine to website? 

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


More information about the Mlir-commits mailing list