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