[PATCH] D68372: AMDGPU/GlobalISel: Split 64-bit vector extracts during RegBankSelect

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 22:15:38 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle, kerbowa, scott.linder.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.

Register indexing 64-bit elements is possible on the SALU, but not the
VALU. Handle splitting this into two 32-bit indexes. Extend waterfall
loop handling to allow moving a range of instructions.

I realized after implementing this that it would probably be better to just directly select the indexing instructions here, but this is a first step


https://reviews.llvm.org/D68372

Files:
  lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
  test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract-vector-elt.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68372.222965.patch
Type: text/x-patch
Size: 30265 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191003/9dd769e7/attachment.bin>


More information about the llvm-commits mailing list