[all-commits] [llvm/llvm-project] fd2261: [AIX] Lower some memory intrinsics to millicode fu...

Esme via All-commits all-commits at lists.llvm.org
Mon Feb 20 19:26:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd226142fcff9441f58ab87b6d26b36765af2c81
      https://github.com/llvm/llvm-project/commit/fd226142fcff9441f58ab87b6d26b36765af2c81
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll
    M llvm/test/CodeGen/PowerPC/aix-llvm-intrinsic.ll
    M llvm/test/CodeGen/PowerPC/aix-user-defined-memcpy.ll

  Log Message:
  -----------
  [AIX] Lower some memory intrinsics to millicode functions on AIX

Summary: Currently we lower MEMCPY/MEMMOVE/MEMSET/BZERO to the corresponding libc functions. And the libc functions call the millicode functions on AIX. We can lower these intrinsics directly to save one call layer.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D143997




More information about the All-commits mailing list