blob: 9b87ed523e570897038f6b00fd73041c8d875aa7 [file] [log] [blame]
set(LIBS
# Local dialects.
IREEInputDialect
IREELinalgExtDialect
IREELinalgExtPasses
IREELinalgExtTransformOps
IREELinalgExtTransforms
IREELinalgTransformDialect
IREELinalgTransformDialectPasses
IREELinalgTransformTestPasses
IREETransformsTestPasses
# Core dialects.
MLIRAffineDialect
MLIRArithDialect
MLIRAsyncDialect
MLIRControlFlowDialect
MLIRDialect
MLIRFuncDialect
MLIRLinalgDialect
MLIRLinalgTransformOps
MLIRMemRefDialect
MLIRMemRefTransforms
MLIROptLib
MLIRPDLDialect
MLIRPDLInterpDialect
MLIRSCFDialect
MLIRSCFTransformOps
MLIRSCFTransforms
MLIRTensorDialect
MLIRTransforms
MLIRVectorTransformOps
)
add_llvm_tool(iree-dialects-opt
iree-dialects-opt.cpp
DEPENDS
${LIBS}
)
target_link_libraries(iree-dialects-opt PRIVATE ${LIBS})