[llvm] [BOLT][AArch64]support `inline-small-functions` for AArch64 (PR #120187)
Alexey Moksyakov via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 18 06:22:13 PST 2024
================
@@ -133,6 +133,35 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
public:
using MCPlusBuilder::MCPlusBuilder;
+ MCPhysReg getStackPointer() const override { return AArch64::SP; }
+
+ bool isPush(const MCInst &Inst) const override { return false; }
+
+ bool isPop(const MCInst &Inst) const override { return false; }
----------------
yavtuk wrote:
also here should be checking isLoadFromStack
https://github.com/llvm/llvm-project/pull/120187
More information about the llvm-commits
mailing list