Files
clang-p2996/mlir/lib/Reducer/CMakeLists.txt
Chia-hung Duan 2f98dfe5b6 [mlir-reduce] Create MlirReduceLib
Move the core reducer algorithm into a library so that it'll be easier
for porting to different projects.

Depends On D101046

Reviewed By: jpienaar, rriddle

Differential Revision: https://reviews.llvm.org/D101607
2021-06-03 15:58:26 +08:00

18 lines
270 B
CMake

add_mlir_library(MLIRReduce
OptReductionPass.cpp
ReductionNode.cpp
ReductionTreePass.cpp
Tester.cpp
LINK_LIBS PUBLIC
MLIRIR
MLIRPass
MLIRRewrite
MLIRTransformUtils
DEPENDS
MLIRReducerIncGen
)
mlir_check_all_link_libraries(MLIRReduce)