[PATCH] D84646: AMDGPU/GlobalISel: Remove old hacks for boolean selection

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 05:27:01 PDT 2020


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

There were various hacks used to try to avoid making s1 SGPR vs. s1
VCC ambiguous after constraining the register before we had a strategy
to deal with this. This also attempted to handle undef operands, which
are now illegal gMIR.


https://reviews.llvm.org/D84646

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-phi.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84646.280872.patch
Type: text/x-patch
Size: 10064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200727/59017ce4/attachment.bin>


More information about the llvm-commits mailing list