[x86] In the new vector shuffle lowering, when trying to do another
authorChandler Carruth <chandlerc@gmail.com>
Fri, 26 Sep 2014 17:24:26 +0000 (17:24 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 26 Sep 2014 17:24:26 +0000 (17:24 +0000)
commit7929a210d513f4436c6a7c07ca909cdb2d9fe804
tree9e93c72756919fe43dbe4e7084139fec0d56fd4e
parent7164a4ae0a1bcec0d8aa7d65c82afd0d78f32ec5
[x86] In the new vector shuffle lowering, when trying to do another
layer of tie-breaking sorting, it really helps to check that you're in
a tie first. =] Otherwise the whole thing cycles infinitely. Test case
added, another one found through fuzz testing.

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