Previously we would add them for adds, but not multiplies.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D48038
[SCEV] Add nuw/nsw to mul ops in StrengthenNoWrapFlags where safe. ClosedPublic Authored by jlebar on Jun 11 2018, 11:08 AM.
Details Summary Previously we would add them for adds, but not multiplies.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 11 2018, 12:00 PM Closed by commit rL334428: [SCEV] Add nuw/nsw to mul ops in StrengthenNoWrapFlags where safe. (authored by jlebar). · Explain WhyJun 11 2018, 12:02 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 150806 llvm/trunk/lib/Analysis/ScalarEvolution.cpp
llvm/trunk/test/Analysis/Delinearization/a.ll
llvm/trunk/test/Analysis/Delinearization/iv_times_constant_in_subscript.ll
llvm/trunk/test/Analysis/IVUsers/quadradic-exit-value.ll
llvm/trunk/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
llvm/trunk/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll
llvm/trunk/test/Analysis/ScalarEvolution/different-loops-recs.ll
llvm/trunk/test/Analysis/ScalarEvolution/mul-nuw.ll
llvm/trunk/test/Analysis/ScalarEvolution/nsw-offset-assume.ll
llvm/trunk/test/Analysis/ScalarEvolution/nsw-offset.ll
llvm/trunk/test/Analysis/ScalarEvolution/nsw.ll
llvm/trunk/test/Analysis/ScalarEvolution/sext-mul.ll
llvm/trunk/test/Analysis/ScalarEvolution/sext-zero.ll
llvm/trunk/test/Analysis/ScalarEvolution/trip-count-pow2.ll
llvm/trunk/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll
|