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.
22 lines
338 B
CMake
22 lines
338 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
|
|
MLIRArithmetic
|
|
MLIRDialectUtils
|
|
MLIRFunc
|
|
MLIRMath
|
|
MLIRTransformUtils
|
|
MLIRVector
|
|
MLIRVectorUtils
|
|
)
|