commit | 06026c4ca3a1fcb22748a4089f19c77bb79df338 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Mon Jun 20 23:08:21 2016 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Mon Jun 20 23:08:21 2016 +0000 |
tree | ee1880cdc6339c7dd1c4a933a9ec38ca5ca365ae | |
parent | bf57e9c14c1501680b3e361b5c9b140d58e0dd9d [diff] |
[X86][SSE] Add cost model for BSWAP of vectors The BSWAP of vector types is quite efficiently implemented using vector shuffles on SSE/AVX targets, we should reflect the typical cost of this to encourage vectorization. Differential Revision: http://reviews.llvm.org/D21521 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273217 91177308-0d34-0410-b5e6-96231b3b80d8