The Func has a large number of legacy dependencies carried over from the old Standard dialect, which was pervasive and contained a large number of varied operations. With the split of the standard dialect and its demise, a lot of lingering dead dependencies have survived to the Func dialect. This commit removes a large majority of then, greatly reducing the dependence surface area of the Func dialect.
20 lines
360 B
CMake
20 lines
360 B
CMake
add_mlir_dialect_library(MLIRMathTransforms
|
|
AlgebraicSimplification.cpp
|
|
ExpandTanh.cpp
|
|
PolynomialApproximation.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Math/Transforms
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithmetic
|
|
MLIRDialectUtils
|
|
MLIRIR
|
|
MLIRMath
|
|
MLIRPass
|
|
MLIRTransforms
|
|
MLIRX86Vector
|
|
MLIRVector
|
|
MLIRVectorUtils
|
|
)
|