This uses ConstantRange::makeGuaranteedNoWrapRegion's newly-added handling for subtraction to allow CVP to remove some subtraction overflow checks.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D40039
[CVP] Remove some {s|u}sub.with.overflow checks. ClosedPublic Authored by jgalenson on Nov 14 2017, 9:55 AM.
Details Summary This uses ConstantRange::makeGuaranteedNoWrapRegion's newly-added handling for subtraction to allow CVP to remove some subtraction overflow checks.
Diff Detail
Event Timelinejgalenson added a parent revision: D40036: [ConstantRange] Support subtraction in makeGuaranteedNoWrapRegion.. This revision is now accepted and ready to land.Dec 4 2017, 11:03 AM Closed by commit rL319807: [CVP] Remove some {s|u}sub.with.overflow checks. (authored by jgalenson). · Explain WhyDec 5 2017, 10:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 125568 llvm/trunk/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
llvm/trunk/test/Transforms/CorrelatedValuePropagation/overflows.ll
|