[PATCH] D159536: [BOLT] Implement '--assume-abi' option for AArch64
Vladislav Khmelevsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 24 04:22:11 PDT 2023
yota9 added inline comments.
================
Comment at: bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp:447
+ void getCalleeSavedRegs(BitVector &Regs) const override {
+ Regs |= getAliases(AArch64::X19);
+ Regs |= getAliases(AArch64::X20);
----------------
I believe we must add X18 register also, since the ARM ABI says it might be platform-specific, so BOLT must preserve it's value
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159536/new/
https://reviews.llvm.org/D159536
More information about the llvm-commits
mailing list