[InstCombine] add test for missing vector icmp fold
authorSanjay Patel <spatel@rotateright.com>
Wed, 17 Aug 2016 22:18:57 +0000 (22:18 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 17 Aug 2016 22:18:57 +0000 (22:18 +0000)
commit3c92db75605fffb4aaa5790160d714fb67346414
tree4e9bad8c189836523f329864f20df81fee8bf0ca
parenta5e039c4c5a5511a9e67c9e9acac50e0d46df53f
[InstCombine] add test for missing vector icmp fold

Also, add a scalar test to demonstrate one of the intermediate folds that
is necessary to accomplish the existing, multi-step test. And simplify
the vector tests to only check the final piece of that multi-step transform.

llvm-svn: 278995
llvm/test/Transforms/InstCombine/icmp.ll