This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] The builtins load8r and store8r are Power 7 plus.
ClosedPublic

Authored by stefanp on Sep 28 2021, 1:53 PM.

Details

Summary

This patch makes sure that the builtins builtin_ppc_load8r and
builtin_ppc_store8r are only available for Power 7 and up.
Currently the builtins seem to produce incorrect code if used for
Power 6 or before.

Diff Detail

Event Timeline

stefanp created this revision.Sep 28 2021, 1:53 PM
stefanp requested review of this revision.Sep 28 2021, 1:53 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 28 2021, 1:53 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
stefanp added a reviewer: Restricted Project.Sep 28 2021, 1:53 PM
nemanjai accepted this revision.Sep 28 2021, 6:02 PM

LGTM. Thanks.

This revision is now accepted and ready to land.Sep 28 2021, 6:02 PM
This revision was landed with ongoing or failed builds.Sep 29 2021, 12:34 PM
This revision was automatically updated to reflect the committed changes.