OSDN Git Service

[X86][SSE] Don't call combineTo inside combineX86ShufflesRecursively. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 8 Oct 2017 20:58:14 +0000 (20:58 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 8 Oct 2017 20:58:14 +0000 (20:58 +0000)
commita038303fae65ee0fadbe71c0c4fcab25a043b673
tree02d710ed44a32f75bbc20731b4a1270935584d46
parent4ba5a28d5f0302291c0fc36a77421f9a88a025f8
[X86][SSE] Don't call combineTo inside combineX86ShufflesRecursively. NFCI.

Return the combined shuffle from combineX86ShufflesRecursively and perform the combineTo in the caller.

Makes it easier for future patches to use this in functions that aren't actually shuffles themselves.

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