HomePhabricator

[InstCombine] Add with.overflow always overflow tests; NFC

Authored by nikic on Apr 9 2019, 1:02 PM.

Description

[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

Details

Committed
nikicApr 9 2019, 1:02 PM
Parents
rGba55a40fd07f: [AArch64] Add test case to show missed opportunity to remove a shift beforeā€¦
Branches
Unknown
Tags
Unknown