From 0852bdd3d29352263bca1a871d090134534a1178 Mon Sep 17 00:00:00 2001 From: Lukas Korencik Date: Wed, 24 Apr 2024 15:12:52 +0200 Subject: [PATCH] conv: Reflect that `DIScopeForLLVMFuncOpPass` now operates on module. --- lib/vast/Conversion/Core/Passes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vast/Conversion/Core/Passes.cpp b/lib/vast/Conversion/Core/Passes.cpp index 6cd326228f..34201f770a 100644 --- a/lib/vast/Conversion/Core/Passes.cpp +++ b/lib/vast/Conversion/Core/Passes.cpp @@ -18,7 +18,7 @@ namespace vast::conv::pipeline { // This is necessary to have line tables emitted and basic debugger // working. In the future we will add proper debug information emission // directly from our frontend. - return nested< mlir::LLVM::LLVMFuncOp >(mlir::LLVM::createDIScopeForLLVMFuncOpPass) + return nested< vast_module >(mlir::LLVM::createDIScopeForLLVMFuncOpPass) .depends_on(core_to_llvm); }