[llvm] ARM: Avoid doing strncmp on libcall name (PR #165203)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 27 02:34:27 PDT 2025


================
@@ -35,6 +35,19 @@ bool ARMSelectionDAGInfo::isTargetMemoryOpcode(unsigned Opcode) const {
          Opcode <= ARMISD::LAST_MEMORY_OPCODE;
 }
 
+static bool isAEABIFunctionImpl(const TargetLowering &TLI, RTLIB::Libcall LC) {
----------------
MacDue wrote:

I think this function name is misleading; a quick grep shows there are many more AEABI functions (IIUC). This being limited to a few memory functions is based on the early exit below its callsite. 

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


More information about the llvm-commits mailing list