This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][GlobalISel] Fix v2s16 right shifts
ClosedPublic

Authored by foad on Feb 4 2021, 8:35 AM.

Details

Summary

When widening, each half of the v2s16 operands needs to be sign extended
for G_ASHR or zero extended for G_LSHR.

Diff Detail

Event Timeline

foad created this revision.Feb 4 2021, 8:35 AM
foad requested review of this revision.Feb 4 2021, 8:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2021, 8:35 AM
arsenm accepted this revision.Feb 4 2021, 8:52 AM
This revision is now accepted and ready to land.Feb 4 2021, 8:52 AM
This revision was landed with ongoing or failed builds.Feb 4 2021, 9:05 AM
This revision was automatically updated to reflect the committed changes.