[Mlir-commits] [mlir] [mlir][gpu] GPUToROCDL: Add C++ argument to populate allowedDialects (PR #157402)

Pablo Antonio Martinez llvmlistbot at llvm.org
Tue Sep 9 00:03:46 PDT 2025


================
@@ -10,6 +10,9 @@
 
 #include "mlir/Conversion/GPUToROCDL/Runtimes.h"
 #include "mlir/Conversion/LLVMCommon/LoweringOptions.h"
+#include "mlir/Pass/Pass.h"
+#include "llvm/ADT/DenseSet.h"
+#include <cstddef>
----------------
pabloantoniom wrote:

Ah, I forgot to remove those after deleting the constructor in the .td. Only Pass is needed, since now TableGen is creating the create* function which uses `mlir::Pass`, but I have removed the include and added Pass to the namespace below instead.

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


More information about the Mlir-commits mailing list