Files
clang-p2996/mlir/lib/Dialect/Vector/Interfaces/CMakeLists.txt
Diego Caballero b1bc1a1ed6 [mlir][Vector] Introduce the MaskingOpInterface
This MaskingOpInterface provides masking cababilitites to those
operations that implement it. For only is only implemented by the `vector.mask`
operation and it's used to break the dependency between the Vector
dialect (where the `vector.mask` op lives) and operations implementing
the MaskableOpInterface.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D136734
2022-10-27 22:54:19 +00:00

23 lines
469 B
CMake

set(LLVM_OPTIONAL_SOURCES
MaskableOpInterface.cpp
MaskingOpInterface.cpp
)
function(add_mlir_interface_library name)
add_mlir_library(MLIR${name}
${name}.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Vector/Interfaces
DEPENDS
MLIR${name}IncGen
LINK_LIBS PUBLIC
MLIRIR
)
endfunction(add_mlir_interface_library)
add_mlir_interface_library(MaskableOpInterface)
add_mlir_interface_library(MaskingOpInterface)