file(GLOB globbed *.c *.cpp)
add_llvm_library(MLIRLoopOps
  ${globbed}

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/LoopOps
  )
add_dependencies(MLIRLoopOps MLIRLoopOpsIncGen LLVMSupport)
target_link_libraries(MLIRLoopOps LLVMSupport)

file(GLOB globbed *.c *.cpp)
add_llvm_library(MLIRLoopOps
  ${globbed}

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/LoopOps
  )
add_dependencies(MLIRLoopOps MLIRLoopOpsIncGen MLIRStandardOps LLVMSupport)
target_link_libraries(MLIRLoopOps LLVMSupport)

Fix build by making LoopOps depend on StandardOps
Fix build by making LoopOps depend on StandardOps

LoopOps needs the definition ConstantIndexOp in the verifier of loop::ForOp.

PiperOrigin-RevId: 258355329
