[PATCH] D72105: AMDGPU/GlobalISel: Assume vcc phis for any vcc input

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 13:09:06 PST 2020


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.
arsenm added a child revision: D71860: AMDGPU/GlobalISel: Replace handling of boolean values.

This produces more intelligible looking results, more comparabble to
the DAG output in the simplest cases. This is probably wrong in
complex control flow, but RegBankSelect doesn't attempt analyzing if
this is on a masked path for selecting the bank yet.


https://reviews.llvm.org/D72105

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: D72105.235935.patch
Type: text/x-patch
Size: 17371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200102/5e821386/attachment.bin>


More information about the llvm-commits mailing list