GlobalISel: Implement bitcast action for G_INSERT_VECTOR_ELT
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 16 Jun 2020 01:35:15 +0000 (21:35 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 11 Aug 2020 14:39:14 +0000 (10:39 -0400)
commite2f1b48f867d9ed349b7520dea495717bca26f31
tree7014e160c4c93dd3aaa633f565f2d14e1af70eed
parentb1600d8b8971e7d5967ed29476ee3ae71ade6a81
GlobalISel: Implement bitcast action for G_INSERT_VECTOR_ELT

This mirrors the support for the equivalent extracts. This also
creates a huge mess that would be greatly improved if we had any bit
operation combines.
llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i16.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert-vector-elt.mir