commit | ae9a1a8ee73a16d595968781df6dd2324b82a29b | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Fri Jun 22 14:04:06 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Fri Jun 22 14:04:06 2018 +0000 |
tree | 8453402225fb456ac99a50e1a90b974fe96a5c2c | |
parent | 1c5cdb19a65967e4e290e8a221e57aed6ec4c1c0 [diff] |
[SLPVectorizer] Relax alternate opcodes to accept any BinaryOperator pair SLP currently only accepts (F)Add/(F)Sub alternate counterpart ops to be merged into an alternate shuffle. This patch relaxes this to accept any pair of BinaryOperator opcodes instead, assuming the target's cost model accepts the vectorization+shuffle. Differential Revision: https://reviews.llvm.org/D48477 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335349 91177308-0d34-0410-b5e6-96231b3b80d8