Followup to D60420 for the signed subtraction case.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D60469
[ValueTracking] Use computeConstantRange() for signed sub overflow determination ClosedPublic Authored by nikic on Apr 9 2019, 9:15 AM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.Apr 9 2019, 9:19 AM Closed by commit rL358020: [ValueTracking] Use computeConstantRange() for signed sub overflow determination (authored by nikic). · Explain WhyApr 9 2019, 10:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 194353 llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstCombine/saturating-add-sub.ll
llvm/test/Transforms/InstCombine/ssub-with-overflow.ll
|