This is the max version of D85046.
This change causes binary changes in 44 out of 237 benchmarks (out of
MultiSource/SPEC2000/SPEC2006)
Paths
| Differential D85189
[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
Diff Detail
Event TimelineComment Actions 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 Closed by commit rG3483c28c5bc1: [SCEV] ] If RHS >= Start, simplify (Start smax RHS) to RHS for trip counts. (authored by fhahn). · Explain WhyAug 11 2020, 5:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 282843 llvm/lib/Analysis/ScalarEvolution.cpp
llvm/test/Analysis/ScalarEvolution/smin-smax-folds.ll
|