diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-02-27 11:33:46 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-02-27 11:33:46 +0000 |
| commit | 97f3260f5715f05f6602afb599e0d477b2e3efd2 (patch) | |
| tree | 10d7799e12780acd3f801ced21504be327496d0b /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
| parent | 84dfd1a8518389731b12d9473ad044c290b1a23e (diff) | |
| download | llvm-97f3260f5715f05f6602afb599e0d477b2e3efd2.zip llvm-97f3260f5715f05f6602afb599e0d477b2e3efd2.tar.gz llvm-97f3260f5715f05f6602afb599e0d477b2e3efd2.tar.bz2 | |
[x86] Make the v8i16 clever single-input shuffle lowering usable for
repeated 128-bit lane shuffles of wider vector types and use it to lower
256-bit v16i16 vector shuffles where applicable.
This should let us perfectly lowering the pattern of pshuflw and pshufhw
even for AVX2 256-bit patterns.
I've not added AVX-512 support, but it should be trivial for someone
working on that to wire up.
Note that currently this generates bad, long shuffle chains because we
don't combine 256-bit target shuffles. The subsequent patches will fix
that.
llvm-svn: 230751
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions
