[SLP][X86] Add tests showing failure to commute icmp/fcmp by swapping predicate
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 28 Mar 2019 19:13:38 +0000 (19:13 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 28 Mar 2019 19:13:38 +0000 (19:13 +0000)
commitceb3de5d25668f78b27f8d7e9f1d541eb6cd4ce2
tree9d9e4231bc1d56ac8f009a9888421e6e7ebad4c0
parent0408a7892ea5c7272b4b7fe0612f5c3265e52543
[SLP][X86] Add tests showing failure to commute icmp/fcmp by swapping predicate

By swapping icmp/fcmp predicates we can commute their operands to improve vectorization

llvm-svn: 357204
llvm/test/Transforms/SLPVectorizer/X86/cmp_commute.ll