Turn the constant cases into G_EXTRACTs.
Diff Detail
Diff Detail
Paths 
  |  Differential  D64733  
AMDGPU/GlobalISel: Custom legalize G_EXTRACT_VECTOR_ELT ClosedPublic Authored by arsenm on Jul 15 2019, 6:00 AM. 
Diff Detail Event TimelineHerald added subscribers: Petar.Avramovic, t-tye, tpr and 6 others.  ·  View Herald TranscriptJul 15 2019, 6:00 AM This revision is now accepted and ready to land.Jul 15 2019, 7:47 AM 
Revision Contents 
 
Diff 209828 lib/Target/AMDGPU/AMDGPULegalizerInfo.h
 lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||