[PATCH] D54534: [InstCombine] Add support for saturating add/sub
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 27 12:53:45 PST 2018
nikic updated this revision to Diff 175558.
nikic edited the summary of this revision.
nikic added a comment.
Use operand swap helper, canonicalize ssub to sadd if possible, add tests for operand swapping and canonicalization, rebase over committed baseline tests.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54534/new/
https://reviews.llvm.org/D54534
Files:
lib/Analysis/ValueTracking.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/saturating-add-sub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54534.175558.patch
Type: text/x-patch
Size: 28061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181127/f0689fbb/attachment.bin>
More information about the llvm-commits
mailing list