This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Remove support for SplitCSR.
ClosedPublic

Authored by sfertile on Apr 28 2020, 9:37 AM.

Details

Summary

SplitCSR was only supported for functions with CXX_FAST_TLS calling convention. Clang only emits that calling convention for Darwin which is no longer supported by the PowerPC backend. Another IR producer could potentially use the calling convention, but considering the calling convention is meant to be an optimization and the codegen for SplitCSR can be atrocious on Power (see the modified lit test) it is best to remove it and codegen CXX_FAST_TLS same as the C calling convention.

Diff Detail

Event Timeline

sfertile created this revision.Apr 28 2020, 9:37 AM
daltenty accepted this revision.May 7 2020, 2:12 PM

LGTM, this is mostly a revert of D17533 as should be expected.

This revision is now accepted and ready to land.May 7 2020, 2:12 PM
This revision was automatically updated to reflect the committed changes.