This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Add __PCREL__ when PC Relative is enabled.
ClosedPublic

Authored by stefanp on Mar 12 2021, 12:04 PM.

Details

Summary

This patch adds the __PCREL__ define when PC Relative addressing is enabled.

Diff Detail

Event Timeline

stefanp created this revision.Mar 12 2021, 12:04 PM
stefanp requested review of this revision.Mar 12 2021, 12:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 12 2021, 12:04 PM
stefanp edited the summary of this revision. (Show Details)Mar 12 2021, 12:07 PM
stefanp added reviewers: lei, Restricted Project, kbarton.

LGTM. Thanks.

nemanjai accepted this revision.Mar 12 2021, 4:16 PM
This revision is now accepted and ready to land.Mar 12 2021, 4:16 PM
This revision was automatically updated to reflect the committed changes.