diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-03-24 19:19:07 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-03-24 19:19:07 +0000 |
commit | 99d246d7d79603426a87fe89817f03c1c44f51b9 (patch) | |
tree | 275b5753143cbaf9278a85c75ec058af9b55ada3 /llvm/lib/CodeGen/RegAllocBase.h | |
parent | a98fac28aa7636998158a3ac1bf764bf14ca8570 (diff) | |
download | bcm5719-llvm-99d246d7d79603426a87fe89817f03c1c44f51b9.tar.gz bcm5719-llvm-99d246d7d79603426a87fe89817f03c1c44f51b9.zip |
[X86, AVX] recognize shufflevector with zero input as a vperm2 (PR22984)
vperm2x128 instructions have the special ability (aka free hardware capability)
to shuffle zero values into a vector.
This patch recognizes that type of shuffle and generates the appropriate
control byte.
https://llvm.org/bugs/show_bug.cgi?id=22984
Differential Revision: http://reviews.llvm.org/D8563
llvm-svn: 233100
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.h')
0 files changed, 0 insertions, 0 deletions