This uses ScalarEvolution::getRange and not potentially control
dependent nsw and nuw bits on the arithmetic instruction.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D13613
[SCEV] Mark AddExprs as nsw or nuw if legal ClosedPublic Authored by sanjoy on Oct 9 2015, 5:30 PM.
Details Summary This uses ScalarEvolution::getRange and not potentially control
Diff Detail Event Timelinesanjoy updated this object. sanjoy added a child revision: D13685: [SCEV] Commute sign extends through nsw additions.Oct 12 2015, 6:48 PM This revision is now accepted and ready to land.Oct 22 2015, 11:17 AM Closed by commit rL251048: [SCEV] Mark AddExprs as nsw or nuw if legal (authored by sanjoy). · Explain WhyOct 22 2015, 12:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 37191 lib/Analysis/ScalarEvolution.cpp
lib/IR/ConstantRange.cpp
test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_3d.ll
test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_nts_3d.ll
test/Analysis/ScalarEvolution/infer-prestart-no-wrap.ll
test/Analysis/ScalarEvolution/min-max-exprs.ll
test/Analysis/ScalarEvolution/no-wrap-add-exprs.ll
test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll
unittests/IR/ConstantRangeTest.cpp
|
Given we could have learned a new fact at line 1643, shouldn't this be using that new fact?