If the variable shift amount has known bits, we can still reduce the shift.
Diff Detail
Diff Detail
Paths
| Differential D46575
AMDGPU: Handle partial shift reduction for variable shifts ClosedPublic Authored by arsenm on May 8 2018, 4:25 AM.
Details
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 3 others. · View Herald TranscriptMay 8 2018, 4:25 AM arsenm added a parent revision: D46573: AMDGPU: Partially shrink 64-bit shifts if reduced to 16-bit.May 8 2018, 4:25 AM This revision is now accepted and ready to land.May 8 2018, 10:08 AM
Revision Contents
Diff 145666 lib/Target/AMDGPU/AMDGPUISelLowering.cpp
test/CodeGen/AMDGPU/partial-shift-shrink.ll
|