SuccessChanges

Summary

  1. MCP: Fixed bug with dest overlapping copy source (details)
Commit 07ebd741546e399f3db0a7c08a7fb1932e14080c by tim.renouf
MCP: Fixed bug with dest overlapping copy source
In MachineCopyPropagation, when propagating the source of a copy into
the operand of a later instruction, bail if a destination overlaps
(partly defines) the copy source. If the instruction where the
substitution is happening is also a copy, allowing the propagation
confuses the tracking mechanism.
Differential Revision: https://reviews.llvm.org/D69953
Change-Id: Ic570754f878f2d91a4a50a9bdcf96fbaa240726d
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
The file was addedllvm/test/CodeGen/AMDGPU/mcp-overlap-after-propagation.mir