Previously we would add them for adds, but not multiplies.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 19192 Build 19192: arc lint + arc unit
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 150795 llvm/lib/Analysis/ScalarEvolution.cpp
llvm/test/Analysis/Delinearization/a.ll
llvm/test/Analysis/ScalarEvolution/sext-mul.ll
llvm/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll
|