This is sort of papering over the fact that we don't run a combiner
anywhere, but avoiding creating 2 instructions in the first place is
easy.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D67597  
AMDGPU/GlobalISel: Avoid creating shift of 0 in arg lowering ClosedPublic Authored by arsenm on Sep 15 2019, 4:30 PM. 
Details 
Diff Detail Event TimelineHerald added subscribers: Petar.Avramovic, t-tye, tpr and 6 others.  ·  View Herald TranscriptSep 15 2019, 4:30 PM This revision is now accepted and ready to land.Sep 29 2019, 9:26 PM 
Revision Contents 
 
Diff 220261 lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.workitem.id.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||