HomePhabricator

MCP: Fixed bug with dest overlapping copy source

Authored by tpr on Nov 11 2019, 3:06 AM.

Description

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

Details

Committed
tprNov 12 2019, 12:18 AM
Differential Revision
D69953: MCP: Fixed bug with dest overlapping copy source
Parents
rG22a535e91a79: [X86] Add fptosi test to fp-intrinsics.ll
Branches
Unknown
Tags
Unknown