2019-03-30 13:10:12 +08:00
|
|
|
set(LIBS
|
|
|
|
MLIRAffineOps
|
|
|
|
MLIRAnalysis
|
|
|
|
MLIREDSC
|
2019-04-04 08:43:00 +08:00
|
|
|
MLIRFxpMathOps
|
2019-04-18 23:25:54 +08:00
|
|
|
MLIRLinalg
|
2019-03-30 13:10:12 +08:00
|
|
|
MLIRLLVMIR
|
|
|
|
MLIRParser
|
|
|
|
MLIRPass
|
2019-04-04 08:43:00 +08:00
|
|
|
MLIRQuantization
|
2019-03-30 13:10:12 +08:00
|
|
|
MLIRStandardOps
|
|
|
|
MLIRTransforms
|
|
|
|
MLIRSupport
|
|
|
|
MLIRVectorOps
|
|
|
|
)
|
|
|
|
add_executable(mlir-opt
|
|
|
|
mlir-opt.cpp
|
|
|
|
)
|
2019-04-02 01:17:45 +08:00
|
|
|
llvm_update_compile_flags(mlir-opt)
|
2019-03-30 13:10:12 +08:00
|
|
|
whole_archive_link(mlir-opt ${LIBS})
|
|
|
|
target_link_libraries(mlir-opt MLIRIR ${LIBS} LLVMSupport)
|