Skip to content

Commit e14ef21

Browse files
authored
Update bolt.patch
- Updated BOLT flags; unfortunately three functions still need to get skipped even with a patched LLVM with llvm/llvm-project#120267
1 parent 3e5285a commit e14ef21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/bolt.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ index 76b70c9fe30..ea892a770cd 100755
261261
if test -z "${BOLT_APPLY_FLAGS}"
262262
then
263263
- BOLT_APPLY_FLAGS=" -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot "
264-
+ BOLT_APPLY_FLAGS=" -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=cdsort -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot -infer-stale-profile=1 -split-strategy=cdsplit --skip-funcs=sre_ucs1_match/1,_PyEval_EvalFrameDefault.localalias/1 "
264+
+ BOLT_APPLY_FLAGS=" -update-debug-sections --dyno-stats --cu-processing-batch-size=64 --eliminate-unreachable --frame-opt=all --icf=all --jump-tables=aggressive --min-branch-clusters --stoke --sctc-mode=always --plt=all --hot-data --hot-text --frame-opt-rm-stores --peepholes=all --infer-stale-profile=1 --x86-strip-redundant-address-size --indirect-call-promotion=all --reg-reassign --use-aggr-reg-reassign --reorder-blocks=ext-tsp --reorder-functions=cdsort --split-all-cold --split-eh --split-functions --split-strategy=cdsplit --skip-funcs=sre_ucs1_match/1,sre_ucs2_match/1,_PyEval_EvalFrameDefault "
265265

266266
fi
267267
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BOLT_APPLY_FLAGS" >&5

0 commit comments

Comments
 (0)