[PATCH] D157564: [MCP] Invalidate copy for super register in copy source

Jeffrey Byrnes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 18:24:40 PDT 2023


jrbyrnes updated this revision to Diff 549218.
jrbyrnes marked an inline comment as done.
jrbyrnes added a comment.

Always try to invalidate both the LastSeenUseInCopy and CopyInfo->MI.

With regard to the regunits conversion --- Should we keep the partial work in this patch, or save it all for a separate patch?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157564

Files:
  llvm/lib/CodeGen/MachineCopyPropagation.cpp
  llvm/test/CodeGen/AMDGPU/mcp-use-before-def.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157564.549218.patch
Type: text/x-patch
Size: 8645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230811/601bbf7c/attachment.bin>


More information about the llvm-commits mailing list