[PATCH] D65267: [MachineCopyPropagation] Remove redundant copies after TailDup via machine-cp

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 19:16:14 PDT 2019


lkail updated this revision to Diff 219466.
lkail added a comment.

When replacing copy's src with copy's def, I missed a point that copy's def is clobbered by selected `SrcMI` and `Tracker` should be informed.


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

https://reviews.llvm.org/D65267

Files:
  llvm/lib/CodeGen/MachineCopyPropagation.cpp
  llvm/test/CodeGen/PowerPC/redundant-copy-after-tail-dup.ll
  llvm/test/CodeGen/X86/mul-i512.ll
  llvm/test/CodeGen/X86/umulo-128-legalisation-lowering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65267.219466.patch
Type: text/x-patch
Size: 6269 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190910/290ac870/attachment.bin>


More information about the llvm-commits mailing list