This is an archive of the discontinued LLVM Phabricator instance.

MachineCopyPropagation: Respect implicit operands of COPY
ClosedPublic

Authored by MatzeB on Feb 3 2017, 4:37 PM.

Details

Summary

The code missed to check implicit operands of COPY instructions for
defs/uses.

rdar://30332105

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB created this revision.Feb 3 2017, 4:37 PM
qcolombet accepted this revision.Feb 3 2017, 4:52 PM

LGTM.
Nitpicks below

lib/CodeGen/MachineCopyPropagation.cpp
234

This block could use the ReadRegister helper as well.

This revision is now accepted and ready to land.Feb 3 2017, 4:52 PM
This revision was automatically updated to reflect the committed changes.