[PATCH] D64511: AMDGPU/GlobalISel: Allow scalar s1 and/or/xor
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 10:07:09 PDT 2019
arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
If a 1-bit value is in a 32-bit VGPR, the scalar opcodes set SCC to
whether the result is 0. If the inputs are SCC, these can be copied to
a 32-bit SGPR to produce an SCC result.
https://reviews.llvm.org/D64511
Files:
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/regbankselect-and-s1.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-and.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-or.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi-s1.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-xor.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64511.209001.patch
Type: text/x-patch
Size: 90623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190710/76b25605/attachment.bin>
More information about the llvm-commits
mailing list