summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-01 11:33:45 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-01 11:33:45 +0000
commit172fe5dd191d3795769a80750abcb060c56b55c9 (patch)
tree10d27c4510a64dcabf30ec044eebb19a2f32f0e3 /llvm/lib
parent0f73709cb7166c74c491a4dbdb32ec81c1990a3a (diff)
downloadbcm5719-llvm-172fe5dd191d3795769a80750abcb060c56b55c9.tar.gz
bcm5719-llvm-172fe5dd191d3795769a80750abcb060c56b55c9.zip
[X86] CombineShuffleWithExtract - updated description comments. NFCI.
CombineShuffleWithExtract no longer requires that both shuffle ops are extract_subvectors, from the same type or from the same size. llvm-svn: 364745
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 9286ef4f066..dfccda7ccd7 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -32180,8 +32180,8 @@ static SDValue combineX86ShuffleChain(ArrayRef<SDValue> Inputs, SDValue Root,
return DAG.getBitcast(RootVT, Res);
}
- // If that failed and both inputs are extracted from the same source type
- // then try to combine as an unary shuffle with the larger type.
+ // If that failed and either input is extracted then try to combine as a
+ // shuffle with the larger type.
SDValue NewRoot;
SmallVector<int, 64> NewMask;
SmallVector<SDValue, 2> NewInputs;
@@ -32360,8 +32360,8 @@ static SDValue combineX86ShuffleChain(ArrayRef<SDValue> Inputs, SDValue Root,
return DAG.getBitcast(RootVT, Res);
}
- // If that failed and both inputs are extracted from the same source type
- // then try to combine as an unary shuffle with the larger type.
+ // If that failed and either input is extracted then try to combine as a
+ // shuffle with the larger type.
SDValue NewRoot;
SmallVector<int, 64> NewMask;
SmallVector<SDValue, 2> NewInputs;
OpenPOWER on IntegriCloud