This is an archive of the discontinued LLVM Phabricator instance.

[Cleanup] Utility function to erase instruction and mark DBG_Values
ClosedPublic

Authored by Gerolf on Aug 13 2014, 1:49 PM.

Details

Reviewers
dblaikie
Summary

New function to erase a machine instruction and mark DBG_VALUE
for removal. A DBG_VALUE is marked for removal when it references
an operand defined in the instruction.
Use the new function to cleanup code in dead machine instruction
removal pass.

Diff Detail

Event Timeline

Gerolf updated this revision to Diff 12470.Aug 13 2014, 1:49 PM
Gerolf retitled this revision from to [Cleanup] Utility function to erase instruction and mark DBG_Values.
Gerolf updated this object.
Gerolf edited the test plan for this revision. (Show Details)
Gerolf added a reviewer: dblaikie.
Gerolf added a subscriber: Unknown Object (MLST).
dblaikie accepted this revision.Aug 13 2014, 1:53 PM
dblaikie edited edge metadata.

Looks great - thanks!

This revision is now accepted and ready to land.Aug 13 2014, 1:53 PM

Thanks for your review!
Committed revision 215580.

Cheers,
Gerolf

Gerolf closed this revision.Jun 22 2016, 6:04 PM