Page MenuHomePhabricator

[LoongArch] Add codegen support of GlobalTLSAddress lowering
ClosedPublic

Authored by wangleiat on Sep 27 2022, 12:57 AM.

Details

Summary

There are static and dynamic TLS address lowering in DAG stage according
to different TLS models.

TLS address will be lowered to pseudo instruction and then expanded by
the LoongArch Pre-RA pseudo instruction expansion pass.

Diff Detail

Event Timeline

wangleiat created this revision.Sep 27 2022, 12:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 12:57 AM
wangleiat requested review of this revision.Sep 27 2022, 12:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 12:57 AM
xen0n accepted this revision.Oct 8 2022, 1:02 AM

I can confirm this patch works locally, but ideally someone else should approve this too.

This revision is now accepted and ready to land.Oct 8 2022, 1:02 AM
This revision was automatically updated to reflect the committed changes.