This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] [MachineLICM] Enable hoisting of caller preserved registers on AIX
ClosedPublic

Authored by scui on Mar 22 2021, 7:29 AM.

Details

Summary

On ppc64 linux , MachineLICM will hoist caller preserved registers, including TOC loads of the global variable address, out of loops. This is to enable this on AIX for both ppc64 and ppc32.

The performance measurements shows no negative impact on spec benchmarks.

Diff Detail

Event Timeline

scui created this revision.Mar 22 2021, 7:29 AM
scui requested review of this revision.Mar 22 2021, 7:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2021, 7:29 AM
scui added a comment.Mar 29 2021, 6:28 AM

gentle ping

etiotto accepted this revision.Mar 30 2021, 11:42 AM

LGTM.

This revision is now accepted and ready to land.Mar 30 2021, 11:42 AM