[Mlir-commits] [mlir] [MLIR][NVVM] Add support for narrow-fp to bf16x2 conversions (PR #200157)
Srinivasa Ravi
llvmlistbot at llvm.org
Fri May 29 02:23:12 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"),
----------------
Wolfram70 wrote:
I checked the generated markdown files, and it looks like they render fine. I've added a couple of new lines to make it look better. Thanks!
https://github.com/llvm/llvm-project/pull/200157
More information about the Mlir-commits
mailing list