Page MenuHomePhabricator

[AArch64][GlobalISel] Add support for narrowScalar of G_ZEXT
Needs ReviewPublic

Authored by aemerson on Tue, Aug 13, 3:43 PM.



We do this by merging the source with the high bits set to 0.

Diff Detail

Event Timeline

aemerson created this revision.Tue, Aug 13, 3:43 PM
arsenm added a subscriber: arsenm.Tue, Aug 13, 5:23 PM
arsenm added inline comments.

This should be able to handle cases where the result size is any multiple of the narrow size

aemerson updated this revision to Diff 215012.Tue, Aug 13, 7:10 PM

Add support for any multiple of the narrow type.