diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-02-27 09:11:38 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-02-27 09:11:38 +0000 |
| commit | ddc4d085cce9691b70e042dc9e03d795f33225c9 (patch) | |
| tree | 5ed8c58dab5e2f5ab09944a9409c9249a580d974 | |
| parent | 18581f16b45896c04ba6dfa44559ccc0cc5226e7 (diff) | |
| download | bcm5719-llvm-ddc4d085cce9691b70e042dc9e03d795f33225c9.tar.gz bcm5719-llvm-ddc4d085cce9691b70e042dc9e03d795f33225c9.zip | |
[x86] Make the single-input v8i16 lowering directly recurse rather than
going back through the entire vector shuffle lowering.
This is an important step to being able to re-use this logic.
llvm-svn: 230743
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 6866be74fa0..1bc68f3eaf7 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -7859,8 +7859,8 @@ static SDValue lowerV8I16GeneralSingleInputVectorShuffle( // Recurse back into this routine to re-compute state now that this isn't // a 3 and 1 problem. - return DAG.getVectorShuffle(MVT::v8i16, DL, V, DAG.getUNDEF(MVT::v8i16), - Mask); + return lowerV8I16GeneralSingleInputVectorShuffle(DL, V, Mask, Subtarget, + DAG); }; if ((NumLToL == 3 && NumHToL == 1) || (NumLToL == 1 && NumHToL == 3)) return balanceSides(LToLInputs, HToLInputs, HToHInputs, LToHInputs, 0, 4); |

