]> granicus.if.org Git - llvm/commit
[X86][SSE] Set second operand to undef instead of first operand in unary shuffle...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 28 Mar 2017 12:16:42 +0000 (12:16 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 28 Mar 2017 12:16:42 +0000 (12:16 +0000)
commitf67785e4401aee10070603809680cb6544f20a4f
tree78140ec593dc0b5723966ad42281b50b2a3cd918
parenteb81f2b1a2d2a2a64d3c9398c3a0b4080ae2150c
[X86][SSE] Set second operand to undef instead of first operand in unary shuffle combines.

Copy isn't necessary after the matchVectorShuffleWithUNPCK refactor and undef value will make some future undef/zero handling easier.

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