# Exclude tests from libMLIR.so
add_mlir_library(MLIRMathTestPasses
TestAlgebraicSimplification.cpp
TestExpandMath.cpp
TestPolynomialApproximation.cpp
EXCLUDE_FROM_LIBMLIR
LINK_LIBS PUBLIC
MLIRMathTransforms
MLIRPass
MLIRTransformUtils
MLIRVectorDialect
MLIRX86VectorDialect
)