[Mlir-commits] [mlir] [mlir] add overload `createDIScopeForLLVMFuncOp` function (PR #111689)
Mehdi Amini
llvmlistbot at llvm.org
Wed Oct 9 08:47:51 PDT 2024
================
@@ -23,6 +23,10 @@ namespace LLVM {
/// Create a pass to add DIScope to LLVMFuncOp that are missing it.
std::unique_ptr<Pass> createDIScopeForLLVMFuncOpPass();
+struct DIScopeForLLVMFuncOpOptions;
+std::unique_ptr<Pass>
+createDIScopeForLLVMFuncOpPass(const DIScopeForLLVMFuncOpOptions &options);
+
----------------
joker-eph wrote:
I think that removing the `let constructor = ` from the TableGen declaration for this pass will see the createXXX method auto-generated. Can you try this?
https://github.com/llvm/llvm-project/pull/111689
More information about the Mlir-commits
mailing list