[llvm] [BOLT][AArch64] Enabling Inlining for Memcpy for AArch64 in BOLT (PR #154929)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 4 10:25:58 PDT 2025


================
@@ -2597,6 +2597,121 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
   getInstructionSize(const MCInst &Inst) const override {
     return 4;
   }
+
+  InstructionListType createInlineMemcpy(bool ReturnEnd) const override {
+    return createInlineMemcpy(ReturnEnd, std::nullopt);
+  }
----------------
yafet-a wrote:

It isn't needed you're correct, I kept it here initially as I had thought it might be clearer but the overloading of the arguments should be clear enough. Thanks for the suggestion, it has been removed.

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


More information about the llvm-commits mailing list