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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jun 11 22:49:41 PDT 2025


  Branch: refs/heads/users/arsenm/ppc/aix-stop-reporting-memcpy-call
  Home:   https://github.com/llvm/llvm-project
  Commit: 82c6176d23c2c5b5e3ed46261ad8130bcdfb4960
      https://github.com/llvm/llvm-project/commit/82c6176d23c2c5b5e3ed46261ad8130bcdfb4960
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-12 (Thu, 12 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