[InstCombine] Add with.overflow always overflow tests; NFC
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 9 Apr 2019 20:02:23 +0000 (20:02 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 9 Apr 2019 20:02:23 +0000 (20:02 +0000)
commitc176b708e45eda157720e1d55d1abbedc7a0eb8b
tree00dc8c798bd1ee530d3059c841779ff61e833110
parentba55a40fd07f14fc2ba85e741f010dba1af19de5
[InstCombine] Add with.overflow always overflow tests; NFC

The uadd and umul cases are currently handled, the usub, sadd, ssub
and smul cases are not. usub, sadd and ssub already have the
necessary ValueTracking support, smul doesn't.

llvm-svn: 358031
llvm/test/Transforms/InstCombine/with_overflow.ll