Skip to content

Commit

Permalink
[arcilator] Add missing LLVM registerInlinerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianschuiki committed Sep 27, 2024
1 parent fec5160 commit 4177849
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/arcilator/arcilator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "mlir/Dialect/Func/Extensions/InlinerExtension.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.h"
#include "mlir/Dialect/LLVMIR/Transforms/Passes.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/ExecutionEngine/ExecutionEngine.h"
Expand Down Expand Up @@ -601,6 +602,7 @@ static LogicalResult executeArcilator(MLIRContext &context) {
arc::initAllExternalInterfaces(registry);

mlir::func::registerInlinerExtension(registry);
mlir::LLVM::registerInlinerInterface(registry);

mlir::registerBuiltinDialectTranslation(registry);
mlir::registerLLVMDialectTranslation(registry);
Expand Down

0 comments on commit 4177849

Please sign in to comment.