[InstCombine] add icmp-xor tests to show vector neglect; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 23 May 2017 16:53:05 +0000 (16:53 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 23 May 2017 16:53:05 +0000 (16:53 +0000)
commit7ad3dbe83692fa399a790866ca5ab6554f520f4a
tree32edce1dc58eaccb742d531b6eaa2806c7dada1d
parent4bbce51539c187ab0178fa84f84cfbe2b75d0a4e
[InstCombine] add icmp-xor tests to show vector neglect; NFC

Also, rename the tests and the file, add comments, and add more tests
because there are no existing tests for some of these folds.

These patterns are particularly important for crippled vector ISAs that
have limited compare predicates (PR33138).

llvm-svn: 303652
llvm/test/Transforms/InstCombine/2008-08-17-ICmpXorSignbit.ll [deleted file]
llvm/test/Transforms/InstCombine/icmp-xor-signbit.ll [new file with mode: 0644]