Lowering through libm gives us a baseline version, even though it's not going to be particularly fast. This is similar to what we do for some math dialect ops. Differential Revision: https://reviews.llvm.org/D125550
19 lines
302 B
CMake
19 lines
302 B
CMake
add_mlir_conversion_library(MLIRComplexToLibm
|
|
ComplexToLibm.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/ComplexToLibm
|
|
|
|
DEPENDS
|
|
MLIRConversionPassIncGen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRDialectUtils
|
|
MLIRFunc
|
|
MLIRComplex
|
|
MLIRTransformUtils
|
|
)
|