[PATCH] D80434: [AMDGPU] Reject moving PHI to VALU if the only VGPR input originated from move immediate
Alexander via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 25 08:01:08 PDT 2020
alex-t updated this revision to Diff 266021.
alex-t added a comment.
Explicit call to isSafeToFoldImmIntoCopy added. Corresponding COPY converted to S_MOV right away.
2 test cases added to check for copy to subreg and inappropriate move opcodes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80434/new/
https://reviews.llvm.org/D80434
Files:
llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
llvm/test/CodeGen/AMDGPU/phi-vgpr-input-moveimm.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80434.266021.patch
Type: text/x-patch
Size: 3727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200525/4c27d245/attachment-0001.bin>
More information about the llvm-commits
mailing list