This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Use replaceOperand() in more places
ClosedPublic

Authored by nikic on Feb 20 2020, 2:39 PM.

Details

Summary

Followup to D73919 with another batch of replacements of setOperand -> replaceOperand, to make sure the old operand gets DCEd right away.

Diff Detail

Event Timeline

nikic created this revision.Feb 20 2020, 2:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 20 2020, 2:39 PM
spatel accepted this revision.Feb 21 2020, 5:22 AM

LGTM

This revision is now accepted and ready to land.Feb 21 2020, 5:22 AM
This revision was automatically updated to reflect the committed changes.