]> granicus.if.org Git - llvm/commit
[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)
commitb182ab7d784ff9f8da60cc0c1329633043c0485e
treeb6f14c64a9c07a6093d99a3b44b588e2587094d2
parentc7145d651012496324456ca494ab7dc5f42d6a75
[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.

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