GlobalISel: Implement lower for G_EXTRACT_VECTOR_ELT
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 27 Jul 2020 01:25:10 +0000 (21:25 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 29 Jul 2020 18:16:28 +0000 (14:16 -0400)
commit0b7de7966ff0015d4ffb522e994b3c67307f284a
tree61b874352be5740ba85a9bc910b85883dcf83295
parent58743040ff50afe18253b51c5ee4a2d0e8324bbf
GlobalISel: Implement lower for G_EXTRACT_VECTOR_ELT

Use the basic store to stack and reload.
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