benchmark: Update iree-translate flag for dylib-sync (#7207)
Need to use embedded library to test this driver.
diff --git a/benchmarks/TFLite/CMakeLists.txt b/benchmarks/TFLite/CMakeLists.txt
index 4a4bbb0..2e015f0 100644
--- a/benchmarks/TFLite/CMakeLists.txt
+++ b/benchmarks/TFLite/CMakeLists.txt
@@ -70,6 +70,7 @@
"--iree-flow-inline-constants-max-byte-length=2048"
#"--iree-flow-dispatch-formation-enable-operand-fusion"
"--iree-llvm-loop-unrolling=true"
+ "--iree-llvm-link-embedded=true"
DRIVER
"dylib-sync"
)
diff --git a/benchmarks/TensorFlow/CMakeLists.txt b/benchmarks/TensorFlow/CMakeLists.txt
index 879cf64..14344f3 100644
--- a/benchmarks/TensorFlow/CMakeLists.txt
+++ b/benchmarks/TensorFlow/CMakeLists.txt
@@ -103,6 +103,7 @@
# TODO(GH-5857): Enable this after fixing segfault.
#"--iree-flow-dispatch-formation-enable-operand-fusion"
"--iree-llvm-loop-unrolling=true"
+ "--iree-llvm-link-embedded=true"
DRIVER
"dylib-sync"
)
@@ -306,6 +307,7 @@
"--iree-input-type=mhlo"
"--iree-llvm-target-triple=aarch64-none-linux-android29"
"--iree-flow-inline-constants-max-byte-length=2048"
+ "--iree-llvm-link-embedded=true"
DRIVER
"dylib-sync"
)