[x86] Fix a miscompile in the new shuffle lowering uncovered by
authorChandler Carruth <chandlerc@gmail.com>
Fri, 27 Jun 2014 18:25:23 +0000 (18:25 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 27 Jun 2014 18:25:23 +0000 (18:25 +0000)
commitdd6470a9dd13645b30a1321bc2cb407a9abff549
treea7a7574eaf1fca984da1cc712e6e8f8a639d9aad
parent3f69076278421d731a80804a743f89c72384b379
[x86] Fix a miscompile in the new shuffle lowering uncovered by
a bootstrap.

I managed to mis-remember how PACKUS worked on x86, and was using undef
for the high bytes instead of zero. The fix is fairly obvious.

llvm-svn: 211922
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-shuffle-128-v16.ll