[X86][SSE] Minor regression fix for r225551
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 12 Jan 2015 22:38:08 +0000 (22:38 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 12 Jan 2015 22:38:08 +0000 (22:38 +0000)
commitc815f155373556f146b94a732d8720d7769a9c4b
tree4e96ef60baafc5855a3bf0659544bc54b53fcf68
parent8afb6d0e2f26aaf1357737e18a82664a7c55ce9b
[X86][SSE] Minor regression fix for r225551

r225551 vector byte shuffle optimization caused an assertion as fully zeroable vectors can be produced under certain circumstances. This fix drops the assert and returns a zero vector where the assert would have failed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp