This is an archive of the discontinued LLVM Phabricator instance.

[SCEV] ] If RHS >= Start, simplify (Start smax RHS) to RHS for trip counts.
ClosedPublic

Authored by fhahn on Aug 4 2020, 2:42 AM.

Details

Summary

This is the max version of D85046.

This change causes binary changes in 44 out of 237 benchmarks (out of
MultiSource/SPEC2000/SPEC2006)

Diff Detail

Event Timeline

fhahn created this revision.Aug 4 2020, 2:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2020, 2:42 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
fhahn requested review of this revision.Aug 4 2020, 2:42 AM

Looks good to me.

lebedev.ri accepted this revision.Aug 7 2020, 1:44 AM

I feel like this is pretty identical to the D85046, so lgtm modulo some possible generalization.

This revision is now accepted and ready to land.Aug 7 2020, 1:44 AM