This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][NFC] Rename P10 builtins vec_clrl, vec_clrr to vec_clr_first and vec_clr_last
ClosedPublic

Authored by NeHuang on Aug 25 2021, 7:23 AM.

Details

Summary

This patch renames the vector clear left/right builtins vec_clrl, vec_clrr to vec_clr_first and vec_clr_last to avoid the ambiguities when dealing with endianness.

Diff Detail

Event Timeline

NeHuang created this revision.Aug 25 2021, 7:23 AM
NeHuang requested review of this revision.Aug 25 2021, 7:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2021, 7:23 AM
lei accepted this revision as: lei.Aug 25 2021, 2:41 PM

LGTM

This revision is now accepted and ready to land.Aug 25 2021, 2:41 PM
amyk accepted this revision as: amyk.Aug 25 2021, 3:21 PM

We wanted vec_clr_first to translate to vclrrb for LE, and to vclrlb for BE, and the opposite mapping for vec_clr_last, so I think this LGTM.

This revision was landed with ongoing or failed builds.Aug 30 2021, 7:53 AM
This revision was automatically updated to reflect the committed changes.