Files
clang-p2996/mlir/lib/Conversion/MathToLibm/CMakeLists.txt
Jacques Pienaar 6ae7f66ff5 [mlir] Add config for PDL (#69927)
Make it so that PDL in pattern rewrites can be optionally disabled.

PDL is still enabled by default and not optional bazel. So this should
be a NOP for most folks, while enabling other to disable.

This only works with tests disabled. With tests enabled this still
compiles but tests fail as there is no lit config to disable tests that
depend on PDL rewrites yet.
2024-01-03 20:37:20 -08:00

23 lines
372 B
CMake

add_mlir_conversion_library(MLIRMathToLibm
MathToLibm.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/MathToLibm
DEPENDS
MLIRConversionPassIncGen
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRArithDialect
MLIRDialectUtils
MLIRFuncDialect
MLIRMathDialect
MLIRPass
MLIRTransformUtils
MLIRVectorDialect
MLIRVectorUtils
)