[PATCH] D71813: AMDGPU/GlobalISel: Account for G_PHI result bank

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 22 08:27:56 PST 2019


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

Sometimes the result bank of the phi is already assigned to something,
and should not be ignored. This is in preparation for additional
boolean phi handling changes.

      

Also refine the logic to fix some cases that were incorrectly deciding
to use SGPRs.


https://reviews.llvm.org/D71813

Files:
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi-s1.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71813.235057.patch
Type: text/x-patch
Size: 11086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191222/2db975a9/attachment.bin>


More information about the llvm-commits mailing list