Files
clang-p2996/mlir/lib/Conversion/ShapeToStandard/CMakeLists.txt
Sean Silva be7352c00d [mlir][splitting std] move 2 more ops to tensor
- DynamicTensorFromElementsOp
- TensorFromElements

Differential Revision: https://reviews.llvm.org/D94994
2021-01-19 13:49:25 -08:00

28 lines
533 B
CMake

set(LLVM_TARGET_DEFINITIONS ShapeToStandard.td)
mlir_tablegen(ShapeToStandard.cpp.inc -gen-rewriters)
add_public_tablegen_target(ShapeToStandardIncGen)
add_mlir_conversion_library(MLIRShapeToStandard
ConvertShapeConstraints.cpp
ShapeToStandard.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/ShapeToStandard
DEPENDS
MLIRConversionPassIncGen
ShapeToStandardIncGen
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIREDSC
MLIRIR
MLIRShape
MLIRTensor
MLIRPass
MLIRSCF
MLIRTransforms
)