[Mlir-commits] [mlir] [MLIR][NVVM] Improve inline_ptx, add readwrite support (PR #154358)

Guray Ozen llvmlistbot at llvm.org
Thu Aug 21 06:28:30 PDT 2025


================
@@ -124,19 +124,21 @@ def BasicPtxBuilderOpInterface : OpInterface<"BasicPtxBuilderInterface"> {
             following this order:
              1) Adds results 
              2) Adds operands 
-             3) Adds attributes             
+             3) Adds attributes
+             Returns true if the OP is going to do register mapping itself
----------------
grypp wrote:

Current comment is correct. If an op has its own `getAsmValues` implementation and not using Interface's implementation, it might want to skip automatic register mapping.

Currently, manual mapping is only used by `wgmma.mma_async`, but I plan to remove that as well so all ops rely on automatic mapping.


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


More information about the Mlir-commits mailing list