2021-09-24 11:59:12 +08:00
|
|
|
add_subdirectory(TorchToLinalg)
|
|
|
|
add_subdirectory(TorchToSCF)
|
|
|
|
add_subdirectory(TorchToStd)
|
2021-10-08 10:07:03 +08:00
|
|
|
add_subdirectory(TorchToTosa)
|
2021-09-24 11:59:12 +08:00
|
|
|
|
|
|
|
# TODO: Automate this with add_torch_mlir_conversion_library.
|
|
|
|
#get_property(torch_mlir_conversion_libs GLOBAL PROPERTY TORCH_MLIR_CONVERSION_LIBS)
|
|
|
|
|
|
|
|
add_mlir_library(TorchMLIRConversionPasses
|
|
|
|
Passes.cpp
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
TorchMLIRConversionPassIncGen
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
TorchMLIRTorchToLinalg
|
|
|
|
TorchMLIRTorchToSCF
|
|
|
|
TorchMLIRTorchToStd
|
2021-10-08 10:07:03 +08:00
|
|
|
TorchMLIRTorchToTosa
|
2021-09-24 11:59:12 +08:00
|
|
|
#${torch_mlir_conversion_libs}
|
|
|
|
)
|