This is an archive of the discontinued LLVM Phabricator instance.

[IndVars] Sharpen context in eliminateIVComparison
ClosedPublic

Authored by mkazantsev on Mar 19 2021, 12:38 AM.

Details

Summary

When eliminating comparisons, we can use common dominator of
all its users as context. This gives better results when ICMP is not
computed right before the branch that uses it.

Diff Detail

Event Timeline

mkazantsev created this revision.Mar 19 2021, 12:38 AM
mkazantsev requested review of this revision.Mar 19 2021, 12:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2021, 12:38 AM

clang-format

lebedev.ri accepted this revision.Mar 19 2021, 2:41 PM
This revision is now accepted and ready to land.Mar 19 2021, 2:41 PM
This revision was landed with ongoing or failed builds.Mar 21 2021, 9:56 PM
This revision was automatically updated to reflect the committed changes.