Fix a warning

This commit is contained in:
Hanchen Ye 2021-10-18 17:32:45 -05:00
parent 513fdf582d
commit dbe24a3fdc
2 changed files with 4 additions and 1 deletions

View File

@ -2,4 +2,7 @@ file(GLOB globbed *.cpp)
add_mlir_library(MLIRScaleHLSSupport add_mlir_library(MLIRScaleHLSSupport
${globbed} ${globbed}
LINK_LIBS PUBLIC
MLIRHLSCpp
) )

View File

@ -861,7 +861,7 @@ void ScaleHLSEstimator::initEstimator(Block &block) {
dependsMap[srcLoop].push_back(dstLoop); dependsMap[srcLoop].push_back(dstLoop);
++idx; ++idx;
} }
}; }
void ScaleHLSEstimator::estimateFunc(FuncOp func) { void ScaleHLSEstimator::estimateFunc(FuncOp func) {
initEstimator(func.front()); initEstimator(func.front());