[all-commits] [llvm/llvm-project] abec50: [BOLT][AArch64] Fix strict usage during ADR Relax ...
Vladislav Khmelevsky via All-commits
all-commits at lists.llvm.org
Thu Nov 9 23:46:49 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: abec50cb9391522d7a7019d0cb040e946c8af164
https://github.com/llvm/llvm-project/commit/abec50cb9391522d7a7019d0cb040e946c8af164
Author: Vladislav Khmelevsky <och95 at yandex.ru>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
M bolt/lib/Passes/ADRRelaxationPass.cpp
M bolt/test/AArch64/r_aarch64_prelxx.s
M bolt/test/runtime/AArch64/adrrelaxationpass.s
M bolt/test/runtime/AArch64/controlflow.s
Log Message:
-----------
[BOLT][AArch64] Fix strict usage during ADR Relax (#71377)
Currently strict mode is used to expand number of optimized functions,
not to shrink it. Revert the option usage in the pass, so passing strict
option would relax adr instruction even if there are no nops around it.
Also add check for nop after adr instruction.
More information about the All-commits
mailing list