[mlir] Add missing dependency to MLIRMlirOptMain

Differential Revision: https://reviews.llvm.org/D79429
This commit is contained in:
Lei Zhang 2020-05-05 12:41:28 -04:00
parent 50cd964e61
commit 6fb7e9a195
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,6 @@ set(LIBS
MLIRTestTransforms
MLIRSupport
MLIRIR
MLIROptLib
)
# Exclude from libMLIR.so because this has static options intended for
@ -42,6 +41,10 @@ add_mlir_library(MLIRMlirOptMain
LINK_LIBS
${LIBS}
DEPENDS
intrinsics_gen
mlir-headers
)
add_llvm_tool(mlir-opt