This is an archive of the discontinued LLVM Phabricator instance.

MachineCSE: Clear dead-def flag on CSE.
ClosedPublic

Authored by MatzeB on Feb 3 2015, 5:05 PM.

Details

Summary

In case CSE reuses a previoulsy unused register the dead-def flag has to
be cleared on the def operand, as exposed by the arm64-cse.ll test.

This fixes PR22439 and the corresponding rdar://19694987

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 19290.Feb 3 2015, 5:05 PM
MatzeB retitled this revision from to MachineCSE: Clear dead-def flag on CSE..
MatzeB updated this object.
MatzeB added a subscriber: Unknown Object (MLST).
hfinkel accepted this revision.Feb 3 2015, 6:48 PM
hfinkel added a reviewer: hfinkel.
hfinkel added a subscriber: hfinkel.

LGTM.

This revision is now accepted and ready to land.Feb 3 2015, 6:48 PM
This revision was automatically updated to reflect the committed changes.