[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:36:49 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 you could inline this a merge it with the switch case on `LC` in `EmitSpecializedLibcall`. 

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


More information about the llvm-commits mailing list