sw:vec_iree: Fix tosa MLIR format Generate the correct format based on https://github.com/iree-org/iree/pull/10375 Fix: 246588795 Change-Id: I1a06d40ac15e892219eab8cc8bda8184c5a6dc63
diff --git a/cmake/springbok_static_module.cmake b/cmake/springbok_static_module.cmake index 873c518..b923ad4 100644 --- a/cmake/springbok_static_module.cmake +++ b/cmake/springbok_static_module.cmake
@@ -50,6 +50,7 @@ set(_MLIR_SRC "${CMAKE_CURRENT_BINARY_DIR}/${_RULE_NAME}.mlir") get_filename_component(_SRC_PATH "${_RULE_SRC}" REALPATH) set(_ARGS "${_SRC_PATH}") + list(APPEND _ARGS "--output-format=mlir-ir") list(APPEND _ARGS "-o") list(APPEND _ARGS "${_RULE_NAME}.mlir") # Only add the custom_command here. The output is passed to
diff --git a/cmake/springbok_vmvx_module.cmake b/cmake/springbok_vmvx_module.cmake index 72e8bde..1a7a524 100644 --- a/cmake/springbok_vmvx_module.cmake +++ b/cmake/springbok_vmvx_module.cmake
@@ -47,6 +47,7 @@ set(_MLIR_SRC "${CMAKE_CURRENT_BINARY_DIR}/${_RULE_NAME}.mlir") get_filename_component(_SRC_PATH "${_RULE_SRC}" REALPATH) set(_ARGS "${_SRC_PATH}") + list(APPEND _ARGS "--output-format=mlir-ir") list(APPEND _ARGS "-o") list(APPEND _ARGS "${_RULE_NAME}.mlir") # Only add the custom_command here. The output is passed to