From 63b8018468420a1e848068385dcfaab04f730d54 Mon Sep 17 00:00:00 2001 From: River Riddle Date: Mon, 24 Jan 2022 21:09:19 -0800 Subject: [PATCH] [mlir:LoopLikeInterface] Add missing dependency on SideEffectInterfaces This was missed when moveLoopInvariantCode was added. --- mlir/lib/Interfaces/CMakeLists.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/mlir/lib/Interfaces/CMakeLists.txt b/mlir/lib/Interfaces/CMakeLists.txt index a6f8e1118dde..d1aae8e28273 100644 --- a/mlir/lib/Interfaces/CMakeLists.txt +++ b/mlir/lib/Interfaces/CMakeLists.txt @@ -36,8 +36,21 @@ add_mlir_interface_library(CopyOpInterface) add_mlir_interface_library(DataLayoutInterfaces) add_mlir_interface_library(DerivedAttributeOpInterface) add_mlir_interface_library(InferTypeOpInterface) -add_mlir_interface_library(LoopLikeInterface) add_mlir_interface_library(SideEffectInterfaces) add_mlir_interface_library(TilingInterface) add_mlir_interface_library(VectorInterfaces) add_mlir_interface_library(ViewLikeInterface) + +add_mlir_library(MLIRLoopLikeInterface + LoopLikeInterface.cpp + + ADDITIONAL_HEADER_DIRS + ${MLIR_MAIN_INCLUDE_DIR}/mlir/Interfaces + + DEPENDS + MLIRLoopLikeInterfaceIncGen + + LINK_LIBS PUBLIC + MLIRIR + MLIRSideEffectInterfaces + )