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
18 lines
270 B
CMake
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)
|