[PATCH] D143997: [AIX] Lower some memory intrinsics to millicode functions on AIX

Esme Yi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 03:15:32 PST 2023


Esme created this revision.
Esme added reviewers: nemanjai, shchenz, rzurob, PowerPC.
Herald added subscribers: kbarton, hiraditya.
Herald added a project: All.
Esme requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143997

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143997.497261.patch
Type: text/x-patch
Size: 11210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230214/9e62f305/attachment.bin>


More information about the llvm-commits mailing list