[X86] vector-reduce-and-cmp.ll - and reductions should compare against -1 not 0 for...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 1 Apr 2023 12:58:14 +0000 (13:58 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 1 Apr 2023 12:58:18 +0000 (13:58 +0100)
commit8340b4140daf3c4a04b88524a5eae6a662089439
treee670085f3bbb813cdf11a384ba37c5fee822ec95
parent88c744e7dfaa9ce67dc2b30dea7713e054399d17
[X86] vector-reduce-and-cmp.ll - and reductions should compare against -1 not 0 for allof style comparisons

Fix tests so we actually test what was intended to complement vector-reduce-or-cmp.ll - this was a copy+paste typo from the vector-reduce-or-cmp.ll file (where we should compare against 0) - comparing reduce_and against 0 doesn't tell us much (other than no common set bits).
llvm/test/CodeGen/X86/vector-reduce-and-cmp.ll