The dependencies were set up improperly likely due to past code locations. MathTransforms shouldn't depend on VectorUtils which add a whole bunch of additional dependencies; it instead depends on the SCF dialect. Differential Revision: https://reviews.llvm.org/D149797
20 lines
384 B
CMake
20 lines
384 B
CMake
add_mlir_dialect_library(MLIRMathTransforms
|
|
AlgebraicSimplification.cpp
|
|
ExpandPatterns.cpp
|
|
PolynomialApproximation.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Math/Transforms
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithDialect
|
|
MLIRDialectUtils
|
|
MLIRIR
|
|
MLIRMathDialect
|
|
MLIRSCFDialect
|
|
MLIRPass
|
|
MLIRTransforms
|
|
MLIRX86VectorDialect
|
|
MLIRVectorDialect
|
|
)
|