[test][instcombine] Add test cases for all x.with.overflow overflow checks
authorPhilip Reames <listmail@philipreames.com>
Thu, 24 Jun 2021 01:50:00 +0000 (18:50 -0700)
committerPhilip Reames <listmail@philipreames.com>
Fri, 25 Jun 2021 17:09:58 +0000 (10:09 -0700)
commite80a21d632900341258a20134e43ad76a2c93c81
tree15aab5d95dfc2eaf0fff50e6a85e49f06986d005
parentfb0dbc54813473f438bc07f38ef61557de2da216
[test][instcombine] Add test cases for all x.with.overflow overflow checks

For each of the x.with.overflow variants, if only the overflow bit is consumed, we can generate a direct overflow comparison.  This precommits tests for each of the variants and tries to cover interesting cornercases.
llvm/test/Transforms/InstCombine/saddo.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/smulo.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/ssubo.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/umulo.ll
llvm/test/Transforms/InstCombine/usubo.ll [new file with mode: 0644]