Files
clang-p2996/mlir/lib/Conversion/ShapeToStandard/CMakeLists.txt
Mogball a54f4eae0e [MLIR] Replace std ops with arith dialect ops
Precursor: https://reviews.llvm.org/D110200

Removed redundant ops from the standard dialect that were moved to the
`arith` or `math` dialects.

Renamed all instances of operations in the codebase and in tests.

Reviewed By: rriddle, jpienaar

Differential Revision: https://reviews.llvm.org/D110797
2021-10-13 03:07:03 +00:00

28 lines
539 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
MLIRArithmetic
MLIRIR
MLIRShape
MLIRTensor
MLIRPass
MLIRSCF
MLIRTransforms
)