Remove output-format=mlir-ir flag for iree-compile As the issue in https://github.com/iree-org/iree/issues/10405 has been fixed, we can remove the output-format=mlir-ir flag for iree-compile. The mlir file size with this change is significiantly smaller. Change-Id: I54c00a7f409ba78ada7b151f4d63259e5af287e8
diff --git a/cmake/springbok_static_module.cmake b/cmake/springbok_static_module.cmake index b7295bb..2fd6b45 100644 --- a/cmake/springbok_static_module.cmake +++ b/cmake/springbok_static_module.cmake
@@ -51,7 +51,6 @@ 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 e63b583..5487e94 100644 --- a/cmake/springbok_vmvx_module.cmake +++ b/cmake/springbok_vmvx_module.cmake
@@ -48,7 +48,6 @@ 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