Fix StableHLO Compilation flag

This commit is contained in:
Vivek Khandelwal
2023-09-05 13:56:03 +00:00
parent d2f64eefa3
commit 1d31b2b2c6

View File

@@ -84,7 +84,7 @@ def get_iree_frontend_args(frontend):
elif frontend in ["tensorflow", "tf", "mhlo", "stablehlo"]:
return [
"--iree-llvmcpu-target-cpu-features=host",
"--iree-flow-demote-i64-to-i32",
"--iree-input-demote-i64-to-i32",
]
else:
# Frontend not found.