[InstCombine] add tests for cmyk benchmark; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 2 Apr 2020 16:02:37 +0000 (12:02 -0400)
committerSanjay Patel <spatel@rotateright.com>
Thu, 2 Apr 2020 17:00:46 +0000 (13:00 -0400)
commit12fcbcecffe1d84c9e0aa4c980f9053aad91c8e5
tree8582c1d6060deadff7f78b8792c99801d5a563ce
parent51b38746295fc18664f766fe6cb7974b862c28eb
[InstCombine] add tests for cmyk benchmark; NFC

These are versions of a function that regressed with:
rGf2fbdf76d8d0

That particular problem occurs with an instcombine-simplifycfg-instcombine
sequence, but we can show that it exists within instcombine only with
other variations of the pattern.
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/max-of-nots.ll
llvm/test/Transforms/PhaseOrdering/minmax.ll [new file with mode: 0644]