Commit 0810acc7 authored by Stephen Neuendorffer's avatar Stephen Neuendorffer
Browse files

Revert "[MLIR] Remove redundant library dependencies"

This reverts commit c4c8fbde.
parent d675df03
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -31,8 +31,10 @@ add_llvm_library(MLIRAnalysis
  LLVMSupport
  )
add_dependencies(MLIRAnalysis
  MLIRAffineOps
  MLIRCallOpInterfacesIncGen
  MLIRTypeInferOpInterfaceIncGen
  MLIRLoopOps
  )

add_llvm_library(MLIRLoopAnalysis
@@ -54,6 +56,8 @@ add_llvm_library(MLIRLoopAnalysis
  LLVMSupport
  )
add_dependencies(MLIRLoopAnalysis
  MLIRAffineOps
  MLIRCallOpInterfacesIncGen
  MLIRTypeInferOpInterfaceIncGen
  MLIRLoopOps
  )
+9 −0
Original line number Diff line number Diff line
@@ -14,3 +14,12 @@ add_mlir_conversion_library(MLIRAffineToStandard
  LLVMCore
  LLVMSupport
  )
add_dependencies(
  MLIRAffineToStandard

  MLIRAffineOps
  MLIRStandardOps
  MLIRIR
  LLVMCore
  LLVMSupport
)
+8 −0
Original line number Diff line number Diff line
@@ -13,3 +13,11 @@ add_mlir_conversion_library(MLIRLoopToStandard
  LLVMCore
  LLVMSupport
  )
add_dependencies(
  MLIRLoopToStandard

  MLIRLoopOps
  MLIRTransforms
  LLVMCore
  LLVMSupport
)
+13 −8
Original line number Diff line number Diff line
add_mlir_conversion_library(MLIRLoopsToGPU
  LoopsToGPU.cpp
  LoopsToGPUPass.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/LoopsToGPU

  LINK_LIBS
set(LIBS
  MLIRAffineOps
  MLIRAffineToStandard
  MLIRGPU
@@ -19,3 +12,15 @@ add_mlir_conversion_library(MLIRLoopsToGPU
  MLIRTransformUtils
  LLVMSupport
)

add_mlir_conversion_library(MLIRLoopsToGPU
  LoopsToGPU.cpp
  LoopsToGPUPass.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/LoopsToGPU

  LINK_LIBS
  ${LIBS}
  )
add_dependencies(MLIRLoopsToGPU ${LIBS})
+8 −0
Original line number Diff line number Diff line
@@ -13,3 +13,11 @@ add_mlir_conversion_library(MLIRStandardToLLVM
  LLVMCore
  LLVMSupport
  )
add_dependencies(
  MLIRStandardToLLVM

  MLIRLLVMIR
  MLIRTransforms
  LLVMCore
  LLVMSupport
)
Loading