Fix a bug in the AVX 256-bit shuffle code in cases where the splat element is on...
authorNadav Rotem <nadav.rotem@intel.com>
Thu, 12 Jan 2012 15:31:55 +0000 (15:31 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Thu, 12 Jan 2012 15:31:55 +0000 (15:31 +0000)
commitd2070b00efb97ee32e360d53edfd7bf6de88d62c
tree3c93ceaaf0439741c09232d24df6537378ab75ae
parentfb418bab977ad1484f9513de82d710d88d239bc2
Fix a bug in the AVX 256-bit shuffle code in cases where the splat element is on the boundary of two 128-bit vectors.
The attached testcase was stuck in an endless loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148027 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2012-01-12-extract-sv.ll [new file with mode: 0644]