This is an archive of the discontinued LLVM Phabricator instance.

[AIX] Lower some memory intrinsics to millicode functions on AIX
ClosedPublic

Authored by Esme on Feb 14 2023, 3:15 AM.

Details

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.

Diff Detail

Event Timeline

Esme created this revision.Feb 14 2023, 3:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2023, 3:15 AM
Esme requested review of this revision.Feb 14 2023, 3:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2023, 3:15 AM
shchenz accepted this revision as: shchenz.Feb 17 2023, 1:55 AM

LGTM. Thanks for the improvement.

This revision is now accepted and ready to land.Feb 17 2023, 1:55 AM
This revision was landed with ongoing or failed builds.Feb 20 2023, 7:26 PM
This revision was automatically updated to reflect the committed changes.