[PATCH] D124852: [AMDGPU] Enable copying SCC
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 06:01:21 PDT 2022
foad created this revision.
foad added reviewers: arsenm, piotr.
Herald added subscribers: hsmhsm, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Implement support in SIRegisterInfo::getCrossCopyRegClass for
copying SCC via an SGPR. Remove a restriction from the scalar
select pattern to take advantage of this. The effect is that more
uniform selects can be selected to s_cselect instead of v_cndmask.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124852
Files:
llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/lib/Target/AMDGPU/SOPInstructions.td
llvm/test/CodeGen/AMDGPU/expand-scalar-carry-out-select-user.ll
llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
llvm/test/CodeGen/AMDGPU/setcc-multiple-use.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124852.426676.patch
Type: text/x-patch
Size: 5126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220503/3acea7ac/attachment.bin>
More information about the llvm-commits
mailing list