diff options
author | Job Noorman <jnoorman@igalia.com> | 2023-10-23 08:09:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 08:09:11 +0000 |
commit | b6b492880f5ac6357d85ba2f3ad8e41fded1d97c (patch) | |
tree | 66179ed4519d00f1b5e944731562fc74d0bae73f /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | 2ad9fde41839879d8805d430c2e0857466d9c5d6 (diff) | |
download | llvm-b6b492880f5ac6357d85ba2f3ad8e41fded1d97c.zip llvm-b6b492880f5ac6357d85ba2f3ad8e41fded1d97c.tar.gz llvm-b6b492880f5ac6357d85ba2f3ad8e41fded1d97c.tar.bz2 |
[BOLT][RISCV] Set minimum function alignment to 2 for RVC (#69837)
In #67707, the minimum function alignment on RISC-V was set to 4. When
RVC (compressed instructions) is enabled, the minimum alignment can be
reduced to 2.
This patch implements this by delegating the choice of minimum alignment
to a new `MCPlusBuilder::getMinFunctionAlignment` function. This way,
the target-dependent code in `BinaryFunction` is minimized.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions