summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/mcp-overlap-after-propagation.mir
Commit message (Collapse)AuthorAgeFilesLines
* MCP: Fixed bug with dest overlapping copy sourceTim Renouf2019-11-121-0/+27
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
OpenPOWER on IntegriCloud