This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Basic legalize rules for G_FSHR
ClosedPublic

Authored by arsenm on Mar 19 2020, 7:43 PM.

Details

Summary

Only handles easy 32-bit cases.

Diff Detail

Event Timeline

arsenm created this revision.Mar 19 2020, 7:43 PM
foad accepted this revision.Mar 20 2020, 3:14 AM

LGTM.

llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fshr.mir
12–29

Is there any difference between the SI/VI/GFX9 code in this file? I didn't spot any.

This revision is now accepted and ready to land.Mar 20 2020, 3:14 AM
arsenm marked an inline comment as done.Mar 20 2020, 8:16 AM
arsenm added inline comments.
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fshr.mir
12–29

There will be with more complete legalization rules for s16