Merge overflow computation for signed add,
appearing both in InstCombine and ValueTracking.
As part of the merge,
cleanup the interface for overflow checks in InstCombine.
Paths
| Differential D32946
[InstCombine] Merge duplicate functionality between InstCombine and ValueTracking ClosedPublic Authored by yabash on May 6 2017, 1:11 PM.
Details Summary Merge overflow computation for signed add, As part of the merge,
Diff Detail Event Timelinetakuto.ikuta added inline comments.
Comment Actions Fix and rebase. After this patch is committed I'll submit a patch to fix const correctness This revision is now accepted and ready to land.May 13 2017, 10:39 PM Closed by commit rL303029: [InstCombine] Merge duplicate functionality between InstCombine and… (authored by ctopper). · Explain WhyMay 14 2017, 7:57 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 98080 lib/Analysis/ValueTracking.cpp
lib/Transforms/InstCombine/InstCombineAddSub.cpp
lib/Transforms/InstCombine/InstCombineInternal.h
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
|
Can I ask you to remove std::moves?
These have no meaning here.