Previously ConstantRange::makeGuaranteedNoWrapRegion only handled addition. This adds support for subtraction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D40036
[ConstantRange] Support subtraction in makeGuaranteedNoWrapRegion. ClosedPublic Authored by jgalenson on Nov 14 2017, 9:53 AM.
Details Summary Previously ConstantRange::makeGuaranteedNoWrapRegion only handled addition. This adds support for subtraction.
Diff Detail
Event Timelinejgalenson added a child revision: D40039: [CVP] Remove some {s|u}sub.with.overflow checks..Nov 14 2017, 9:56 AM This revision is now accepted and ready to land.Dec 4 2017, 10:58 AM Closed by commit rL319806: [ConstantRange] Support subtraction in makeGuaranteedNoWrapRegion. (authored by jgalenson). · Explain WhyDec 5 2017, 10:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 125567 llvm/trunk/include/llvm/IR/ConstantRange.h
llvm/trunk/lib/IR/ConstantRange.cpp
llvm/trunk/unittests/IR/ConstantRangeTest.cpp
|