This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Partially shrink 64-bit shifts if reduced to 16-bit
ClosedPublic

Authored by arsenm on May 8 2018, 3:52 AM.

Details

Summary

This is an extension of an existing combine to reduce wider
shls if the result fits in the final result type. This
introduces the same combine, but reduces the shift to a middle
sized type to avoid the slow 64-bit shift.

Diff Detail

Event Timeline

arsenm created this revision.May 8 2018, 3:52 AM
This revision is now accepted and ready to land.May 8 2018, 10:02 AM
arsenm closed this revision.May 9 2018, 1:56 PM

r331916