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

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 03:17:12 PDT 2025


================
@@ -2706,8 +2706,7 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
             Remaining -= OpSize;
             Offset += OpSize;
           }
-      } else
-        Code.clear();
----------------
paschalis-mpeis wrote:

This now becomes unreachable, right?
Maybe is worth keeping an assert here in case someone else changes the earlier logic?

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


More information about the llvm-commits mailing list