diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-03-19 22:29:40 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-03-19 22:29:40 +0000 |
commit | d5c2d287f98c39968934d4a241a6c1292052e140 (patch) | |
tree | ce319e077fa28b247f03ed4bf6ef5c570201afe0 /llvm/lib/CodeGen/StackMaps.cpp | |
parent | ab58a568ee6fdf7aefc20e1309f3a15d1152ee42 (diff) | |
download | llvm-d5c2d287f98c39968934d4a241a6c1292052e140.zip llvm-d5c2d287f98c39968934d4a241a6c1292052e140.tar.gz llvm-d5c2d287f98c39968934d4a241a6c1292052e140.tar.bz2 |
[X86, AVX] use blends instead of insert128 with index 0
Another case of x86-specific shuffle strength reduction:
avoid generating insert*128 instructions with index 0 because
they are slower than their non-lane-changing blend equivalents.
Shuffle lowering already catches most of these cases, but
the zero vector case and some other paths such as in the
modified test in vector-shuffle-256-v32.ll were getting
through.
Differential Revision: http://reviews.llvm.org/D8366
llvm-svn: 232773
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions