Skip to content

Commit 15c0a0d

Browse files
authored
[SV] Include CallInterface (llvm#8966)
sv::FuncCallOp uses CallInterface but CallInterface was not explicitly included/linked.
1 parent b4c2a2e commit 15c0a0d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

include/circt/Dialect/SV/SVOps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "circt/Dialect/SV/SVTypes.h"
2323
#include "mlir/IR/OpImplementation.h"
2424
#include "mlir/IR/SymbolTable.h"
25+
#include "mlir/Interfaces/CallInterfaces.h"
2526
#include "mlir/Interfaces/InferTypeOpInterface.h"
2627
#include "mlir/Interfaces/SideEffectInterfaces.h"
2728

include/circt/Dialect/SV/SVStatements.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ include "mlir/IR/EnumAttr.td"
1414
include "mlir/IR/OpAsmInterface.td"
1515
include "mlir/IR/RegionKindInterface.td"
1616
include "mlir/Interfaces/FunctionInterfaces.td"
17+
include "mlir/Interfaces/CallInterfaces.td"
1718
include "mlir/Interfaces/ControlFlowInterfaces.td"
1819
include "circt/Dialect/Emit/EmitOpInterfaces.td"
1920

lib/Dialect/SV/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ add_circt_dialect_library(CIRCTSV
1818
CIRCTHW
1919
CIRCTLTL
2020
CIRCTSupport
21+
MLIRCallInterfaces
2122
MLIRIR
2223
)
2324

0 commit comments

Comments
 (0)