[PATCH] D67059: AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR v2s16

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 2 00:20:10 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.
arsenm added a parent revision: D67050: AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR_TRUNC.

Handle it the same way as G_BUILD_VECTOR_TRUNC. Arguably only
G_BUILD_VECTOR_TRUNC should be legal for this, but G_BUILD_VECTOR will
probably be more convenient in most cases.


https://reviews.llvm.org/D67059

Files:
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector.v2s16.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67059.218295.patch
Type: text/x-patch
Size: 9858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190902/b35455e8/attachment.bin>


More information about the llvm-commits mailing list