The nuw constraint will not be satisfied unless <expr> == 0.
This bug has been around since r102234 (in 2010!), but was uncovered by
r251052, which introduced more aggressive optimization of nuw scev expressions.
Differential D14850
ScalarEvolution: do not set nuw when creating exprs of form <expr> + <all-ones>. pcc on Nov 19 2015, 4:58 PM. Authored by
Details The nuw constraint will not be satisfied unless <expr> == 0. This bug has been around since r102234 (in 2010!), but was uncovered by
Diff Detail
Event Timeline
Comment Actions LGTM, good catch!
|