This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Legalize non-register-sized scalar G_BITREVERSE
ClosedPublic

Authored by paquette on Aug 18 2021, 4:51 PM.

Details

Summary

Clamp types to [s32, s64] and make them a power of 2.

This matches SDAG's behaviour.

https://godbolt.org/z/vTeGqf4vT

Diff Detail

Event Timeline

paquette created this revision.Aug 18 2021, 4:51 PM
paquette requested review of this revision.Aug 18 2021, 4:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2021, 4:51 PM
aemerson accepted this revision.Aug 20 2021, 2:32 PM
This revision is now accepted and ready to land.Aug 20 2021, 2:32 PM