After fixing undefined symbol and memory leak issues(You can see previous issue https://github.com/llvm/llvm-project/pull/189150), the PR would like to reland it(https://github.com/llvm/llvm-project/pull/187864).
20 lines
342 B
CMake
20 lines
342 B
CMake
add_mlir_library(MLIRReduce
|
|
OptReductionPass.cpp
|
|
ReductionNode.cpp
|
|
ReductionTreePass.cpp
|
|
Tester.cpp
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRRewrite
|
|
MLIRTransformUtils
|
|
MLIRControlFlowDialect
|
|
|
|
DEPENDS
|
|
MLIRReducerIncGen
|
|
MLIRDialectReductionPatternInterfaceIncGen
|
|
)
|
|
|
|
mlir_check_all_link_libraries(MLIRReduce)
|