[PATCH] D67050: AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR_TRUNC
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 1 11:21:20 PDT 2019
arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle, kerbowa.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
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.
https://reviews.llvm.org/D67050
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67050.218270.patch
Type: text/x-patch
Size: 8414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190901/5de6956d/attachment.bin>
More information about the llvm-commits
mailing list