]> granicus.if.org Git - llvm/commit
[InstCombine] add even more tests for unsigned saturated add; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 17 Feb 2019 20:01:59 +0000 (20:01 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 17 Feb 2019 20:01:59 +0000 (20:01 +0000)
commit043364a68100fb21da13d0a6390ec3f22dca3190
tree817bf174e40f9377c202309e59dcd7f8451f0810
parent8201c54c00281f1707b9f51333b50e19ce8e9835
[InstCombine] add even more tests for unsigned saturated add; NFC

The pattern-matching from rL354221 / rL354224 doesn't cover
these, so we're up to 8 different commuted possibilities.

There may still be 1 more variant of this pattern.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354236 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/saturating-add-sub.ll