[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:21:44 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; }
----------------
yavtuk wrote:

here should be functionality for checking isStoreToStack, where you need to check all store instructions

https://github.com/llvm/llvm-project/pull/120187


More information about the llvm-commits mailing list