Skip to content

Commit a991c3d

Browse files
committed
pre-commit: test PR77709
PR Link: llvm/llvm-project#77709
1 parent eae10c2 commit a991c3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/gen_optimized.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def run_opt(task):
1818
if os.path.exists(output_file):
1919
tmp_output += '.bench_tmp.ll'
2020
copy_if_different = True
21-
ret = subprocess.run([opt_exec, '-O3', '-disable-loop-unrolling', '-vectorize-loops=false', '-force-vector-interleave=1', '-force-vector-width=1', input_file, '-S', '-o', tmp_output],stdin=subprocess.DEVNULL,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL, timeout=600.0)
21+
ret = subprocess.run([opt_exec, '-O3','-enable-jump-table-to-switch', '-disable-loop-unrolling', '-vectorize-loops=false', '-force-vector-interleave=1', '-force-vector-width=1', input_file, '-S', '-o', tmp_output],stdin=subprocess.DEVNULL,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL, timeout=600.0)
2222
if ret.returncode != 0:
2323
return (input_file, 'fail')
2424
if copy_if_different:

scripts/setup_pre_commit_patch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -euo pipefail
33
shopt -s inherit_errexit
44

5-
export GITHUB_PATCH_ID="<user_name>/llvm-project/commit/<commit_hash>"
5+
export GITHUB_PATCH_ID="llvm/llvm-project/pull/77709"
66

77
# Please rebase manually
88
# git fetch origin

0 commit comments

Comments
 (0)