Files
clang-p2996/mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
River Riddle 6ccf2d62b4 [mlir] Add an interface for Cast-Like operations
A cast-like operation is one that converts from a set of input types to a set of output types. The arity of the inputs may be from 0-N, whereas the arity of the outputs may be anything from 1-N. Cast-like operations are removable in cases where they produce a "no-op", i.e when the input types and output types match 1-1.

Differential Revision: https://reviews.llvm.org/D94831
2021-01-20 16:28:17 -08:00

20 lines
304 B
CMake

add_mlir_dialect_library(MLIRTensor
TensorDialect.cpp
TensorOps.cpp
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/include/mlir/Dialect/Tensor
DEPENDS
MLIRTensorOpsIncGen
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRCastInterfaces
MLIRIR
MLIRSideEffectInterfaces
MLIRSupport
)