[PATCH] D139874: [AMDGPU] Lower VGPR to physical SGPR COPY to S_MOV_B32 if VGPR contains the compile time constant
Alexander via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 15 05:47:59 PST 2022
alex-t updated this revision to Diff 483147.
alex-t added a comment.
register class and move size from the virtual source register
operand type check is loosen to !isReg()
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139874/new/
https://reviews.llvm.org/D139874
Files:
llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
llvm/lib/Target/AMDGPU/SIInstructions.td
llvm/test/CodeGen/AMDGPU/vgpr_constant64_to_sgpr.mir
llvm/test/CodeGen/AMDGPU/vgpr_constant_to_sgpr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139874.483147.patch
Type: text/x-patch
Size: 6093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221215/8928ae0b/attachment.bin>
More information about the llvm-commits
mailing list