This is an archive of the discontinued LLVM Phabricator instance.

[JITLink][PowerPC] Add basic TLS support for ppc64
ClosedPublic

Authored by lkail on Jul 21 2023, 2:14 AM.

Details

Summary

Add basic TLS support for ppc64. Only global-dynamic model is supported.

Diff Detail

Event Timeline

lkail created this revision.Jul 21 2023, 2:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 2:14 AM
lkail requested review of this revision.Jul 21 2023, 2:14 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 21 2023, 2:14 AM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript
lkail retitled this revision from [JITLink][PowerPC][WIP] Add TLS support for ppc64 to [JITLink][PowerPC][WIP] Add basic TLS support for ppc64.Jul 21 2023, 2:21 AM
lkail updated this revision to Diff 543833.Jul 24 2023, 11:29 PM
lkail updated this revision to Diff 543838.Jul 24 2023, 11:37 PM
lkail updated this revision to Diff 544217.Jul 25 2023, 10:51 PM
lkail updated this revision to Diff 544256.Jul 26 2023, 1:32 AM
lkail retitled this revision from [JITLink][PowerPC][WIP] Add basic TLS support for ppc64 to [JITLink][PowerPC] Add basic TLS support for ppc64.
lkail edited the summary of this revision. (Show Details)
lkail added reviewers: Restricted Project, lhames, qiucf, tingwang, amyk, stefanp, MaskRay.
lkail updated this revision to Diff 544272.Jul 26 2023, 2:40 AM
lkail planned changes to this revision.Jul 27 2023, 12:31 AM

I'll post another patch to enable ELFNixPlatform support for ppc64. This TLS patch will base on that patch.

lhames accepted this revision.Aug 1 2023, 2:39 PM

LGTM. Thanks @lkail!

This revision is now accepted and ready to land.Aug 1 2023, 2:39 PM
lkail updated this revision to Diff 546305.Aug 1 2023, 8:29 PM

Rebased.

This revision was automatically updated to reflect the committed changes.