Treat this as legal on gfx9 since it can use S_PACK_* instructions for
this.
This isn't used by anything yet. The same will probably apply to
16-bit G_BUILD_VECTOR without the trunc.
Paths
| Differential D67050
AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR_TRUNC ClosedPublic Authored by arsenm on Sep 1 2019, 11:21 AM.
Details
Diff Detail Event TimelineHerald added subscribers: Petar.Avramovic, t-tye, tpr and 6 others. · View Herald TranscriptSep 1 2019, 11:21 AM arsenm added a child revision: D67059: AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR v2s16.Sep 2 2019, 12:20 AM This revision is now accepted and ready to land.Sep 9 2019, 9:07 AM
Revision Contents
Diff 218270 lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector-trunc.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector-trunc.mir
|