Use the basic store to stack and reload.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D84654
GlobalISel: Implement lower for G_EXTRACT_VECTOR_ELT ClosedPublic Authored by arsenm on Jul 27 2020, 6:46 AM.
Details
Diff Detail Event Timelinearsenm added a child revision: D84663: GlobalISel: Implement fewerElementsVector for G_EXTRACT_VECTOR_ELT.Jul 27 2020, 8:03 AM arsenm added a child revision: D84755: GlobalISel: Implement lower for G_INSERT_VECTOR_ELT.Jul 28 2020, 7:30 AM This revision is now accepted and ready to land.Jul 29 2020, 9:00 AM
Revision Contents
Diff 280893 llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
|
Would be nice to have a simple example of what the lowering looks like in the comment here; the testcase is pretty long.