[PATCH] D113005: [AMDGPU] Fix subreg checks in S_MOV_B64_IMM_PSEUDO generation.

Abinav Puthan Purayil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 18:28:18 PDT 2021


abinavpp updated this revision to Diff 384297.
abinavpp added a comment.

We don't need the new loop. Sorry for the noise. We just need to make sure that
we don't do the S_MOV_B64_IMM_PSEUDO generation when we have an SGPR COPY like
how D104874 <https://reviews.llvm.org/D104874> did.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113005/new/

https://reviews.llvm.org/D113005

Files:
  llvm/lib/Target/AMDGPU/GCNPreRAOptimizations.cpp
  llvm/test/CodeGen/AMDGPU/agpr-to-agpr-copy.mir
  llvm/test/CodeGen/AMDGPU/combine-sreg64-inits.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113005.384297.patch
Type: text/x-patch
Size: 16239 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211103/68304eda/attachment.bin>


More information about the llvm-commits mailing list