This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] remove the ctr clobbers check related to TLS access
ClosedPublic

Authored by shchenz on Dec 19 2022, 7:50 PM.

Details

Summary

Dynamic tls access model will be lowered to MI which clobbers CTR in
the loop in ISEL(ADDItlsgdLADDR) and post-isel CTR loop pass will revert
the loop to a normal compare + branch form.

So no need to add this clobber check in hardware loop insertion pass now.

Diff Detail

Event Timeline

shchenz created this revision.Dec 19 2022, 7:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 19 2022, 7:50 PM
shchenz requested review of this revision.Dec 19 2022, 7:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 19 2022, 7:50 PM
shchenz retitled this revision from [PowerPC] remove the ctr clobbers related to TLS access to [PowerPC] remove the ctr clobbers check related to TLS access.Dec 19 2022, 7:59 PM
shchenz edited the summary of this revision. (Show Details)

gentle ping

nemanjai accepted this revision.Jan 5 2023, 7:16 AM

Great. Thank you for getting rid of this check which is now unnecessary. LGTM.

This revision is now accepted and ready to land.Jan 5 2023, 7:16 AM
This revision was landed with ongoing or failed builds.Jan 5 2023, 6:23 PM
This revision was automatically updated to reflect the committed changes.