[Mlir-commits] [mlir] [MLIR][NVVM] Add `inline_ptx` op (PR #139923)

Mehdi Amini llvmlistbot at llvm.org
Thu May 15 00:56:55 PDT 2025


================
@@ -236,6 +236,76 @@ foreach index = !range(0, 32) in {
   def NVVM_EnvReg # index # Op : NVVM_SpecialRegisterOp<"read.ptx.sreg.envreg" # index>;
 }
 
+//===----------------------------------------------------------------------===//
+// Inline PTX op definition
+//===----------------------------------------------------------------------===//
+
+def NVVM_InlinePtxOP : NVVM_Op<"inline_ptx", 
----------------
joker-eph wrote:

```suggestion
def NVVM_InlinePtxOp : NVVM_Op<"inline_ptx", 
```

This was the Copilot review suggestion ^^

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


More information about the Mlir-commits mailing list