This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Lower vector BITREVERSE and BSWAP operations.
ClosedPublic

Authored by paulwalker-arm on Dec 20 2020, 5:04 PM.

Details

Summary

These operations are lowered to RBIT and REVB instructions
respectively. In the case of fixed-length support using SVE we
also lower BITREVERSE operating on NEON sized vectors as this
results in fewer instructions.

Diff Detail

Event Timeline

paulwalker-arm created this revision.Dec 20 2020, 5:04 PM
paulwalker-arm requested review of this revision.Dec 20 2020, 5:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 20 2020, 5:04 PM

Fixed incorrect variable naming with bitreverse_v64i8 test.
Made test function names consistent.

This revision is now accepted and ready to land.Dec 21 2020, 8:18 AM
This revision was landed with ongoing or failed builds.Dec 22 2020, 8:51 AM
This revision was automatically updated to reflect the committed changes.