This is an archive of the discontinued LLVM Phabricator instance.

[llvm][NFC] Rename CallAnalyzer::onCommonInstructionSimplification
ClosedPublic

Authored by mtrofin on Jan 29 2020, 1:14 PM.

Details

Summary

It is called when instructions aren't simplified, and the implementation
is expected to account for a penalty. Renamed to
onCommonInstructionMissedSimplification.

Diff Detail

Event Timeline

mtrofin created this revision.Jan 29 2020, 1:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 29 2020, 1:14 PM

How about 'OnMissedSimplification' for simplicity?

davidxl accepted this revision.Jan 29 2020, 6:06 PM

lgtm

This revision is now accepted and ready to land.Jan 29 2020, 6:06 PM
This revision was automatically updated to reflect the committed changes.