[all-commits] [llvm/llvm-project] ef232a: [BOLT][AArch64] Remove nops in functions with defi...
Maksim Panchenko via All-commits
all-commits at lists.llvm.org
Tue Jan 28 11:04:12 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef232a7e3486b9494c087ad25830f00bc15d739a
https://github.com/llvm/llvm-project/commit/ef232a7e3486b9494c087ad25830f00bc15d739a
Author: Maksim Panchenko <maks at fb.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
A bolt/test/AArch64/remove-nops.s
Log Message:
-----------
[BOLT][AArch64] Remove nops in functions with defined control flow (#124705)
When a function has an indirect branch with unknown control flow, we
preserve nops in order to keep all instruction offsets (from the start
of the function) the same in case the indirect branch is used by a
PC-relative jump table. However, when we know the control flow of the
function, we should be able to safely remove nops.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list