Optimize shufflevector that copies an i64/f64 and zeros the rest.
authorFilipe Cabecinhas <me@filcab.net>
Mon, 5 May 2014 19:36:28 +0000 (19:36 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Mon, 5 May 2014 19:36:28 +0000 (19:36 +0000)
commita0fa9eb6060cefe01a8e4e3de24bd369d26bb121
treef8d1817773e71267d254454fecd4f519660a2864
parentf6518f60349a4a3a0e9a92d055f14d836778691c
Optimize shufflevector that copies an i64/f64 and zeros the rest.

Summary:
Also ran clang-format on the function. The code added is the last else
if block.

Reviewers: nadav, craig.topper

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D3518

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207992 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-shuffle.ll
test/CodeGen/X86/sse2.ll