[all-commits] [llvm/llvm-project] f3c63f: PowerPC: Stop reporting memcpy as an alias of memm...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jun 16 17:55:15 PDT 2025


  Branch: refs/heads/users/arsenm/ppc/aix-stop-reporting-memcpy-call
  Home:   https://github.com/llvm/llvm-project
  Commit: f3c63fa01ba590319414c88a4a2d0cff5aeaa6f1
      https://github.com/llvm/llvm-project/commit/f3c63fa01ba590319414c88a4a2d0cff5aeaa6f1
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/IR/RuntimeLibcalls.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/IR/RuntimeLibcalls.cpp

  Log Message:
  -----------
  PowerPC: Stop reporting memcpy as an alias of memmove on AIX

Instead of reporting ___memmove as an implementation of memcpy,
make it unavailable and let the lowering logic consider memmove as
a fallback path.

This avoids a special case 1:N mapping for libcall implementations.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list