This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Lower i8/i16 bswap/bitreverse to grevi/greviw with Zbp.
ClosedPublic

Authored by craig.topper on Jun 5 2021, 12:34 PM.

Details

Summary

Include known bits support so we know we don't need to zext the
output if the input was already zero extended.

Diff Detail

Event Timeline

craig.topper created this revision.Jun 5 2021, 12:34 PM
craig.topper requested review of this revision.Jun 5 2021, 12:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 5 2021, 12:34 PM
Herald added a subscriber: MaskRay. · View Herald Transcript

clang-format

This revision is now accepted and ready to land.Jun 7 2021, 2:44 AM
This revision was landed with ongoing or failed builds.Jun 7 2021, 10:32 AM
This revision was automatically updated to reflect the committed changes.