Use the same basic strategy as LegalizeVectorTypes. Try to index into
smaller pieces if there's a constant index, and otherwise fall back to
a stack temporary.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D84663
GlobalISel: Implement fewerElementsVector for G_EXTRACT_VECTOR_ELT ClosedPublic Authored by arsenm on Jul 27 2020, 8:03 AM.
Details Summary Use the same basic strategy as LegalizeVectorTypes. Try to index into
Diff Detail Event Timelinearsenm added a parent revision: D84654: GlobalISel: Implement lower for G_EXTRACT_VECTOR_ELT.Jul 27 2020, 8:03 AM This revision is now accepted and ready to land.Aug 6 2020, 11:06 AM
Revision Contents
Diff 280922 llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
|