Add `-iree-llvm-loop-unrolling` flag to CPU MobilberNet V2 targets (#5656)
diff --git a/build_tools/mako/configuration.py b/build_tools/mako/configuration.py index 15d7cd3..dcf6c20 100644 --- a/build_tools/mako/configuration.py +++ b/build_tools/mako/configuration.py
@@ -236,10 +236,12 @@ skipped_target=["vlk2"], compilation_flags={ 'cpu': [ - "--iree-flow-dispatch-formation-enable-operand-fusion" + "--iree-flow-dispatch-formation-enable-operand-fusion", + "-iree-llvm-loop-unrolling=true" ], 'cpu3t': [ - "--iree-flow-dispatch-formation-enable-operand-fusion" + "--iree-flow-dispatch-formation-enable-operand-fusion", + "-iree-llvm-loop-unrolling=true" ] })), PhoneBenchmarkInfo( @@ -248,10 +250,12 @@ targets=get_s20_default_target_list( compilation_flags={ 'cpu': [ - "--iree-flow-dispatch-formation-enable-operand-fusion" + "--iree-flow-dispatch-formation-enable-operand-fusion", + "-iree-llvm-loop-unrolling=true" ], 'cpu3t': [ - "--iree-flow-dispatch-formation-enable-operand-fusion" + "--iree-flow-dispatch-formation-enable-operand-fusion", + "-iree-llvm-loop-unrolling=true" ] })), ]),