[Mlir-commits] [mlir] [mlir][nvgpu] Move dependent dialect from C++ to TableGen for nvgpu-to-nvvm pass (NFC) (PR #155801)

Mehdi Amini llvmlistbot at llvm.org
Thu Aug 28 08:26:02 PDT 2025


================
@@ -970,7 +970,10 @@ def ConvertNVGPUToNVVMPass : Pass<"convert-nvgpu-to-nvvm"> {
   }];
 
   let dependentDialects = [
-    "NVVM::NVVMDialect",
+    "arith::ArithDialect",
+    "LLVM::LLVMDialect",
+    "memref::MemRefDialect",
+    "NVVM::NVVMDialect"
----------------
joker-eph wrote:

> Alternatively, we could've generate directly llvm instead of memref.

That would be cleaner I think.
In the meantime, seems like the dependentDialect here is legit.

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


More information about the Mlir-commits mailing list