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
26 lines
455 B
CMake
26 lines
455 B
CMake
add_mlir_dialect_library(MLIRStandard
|
|
IR/Ops.cpp
|
|
EDSC/Builders.cpp
|
|
EDSC/Intrinsics.cpp
|
|
Utils/Utils.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/StandardOps
|
|
|
|
DEPENDS
|
|
MLIRStandardOpsIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRCallInterfaces
|
|
MLIRCastInterfaces
|
|
MLIRControlFlowInterfaces
|
|
MLIREDSC
|
|
MLIRIR
|
|
MLIRSideEffectInterfaces
|
|
MLIRTensor
|
|
MLIRVectorInterfaces
|
|
MLIRViewLikeInterface
|
|
)
|
|
|
|
add_subdirectory(Transforms)
|