summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
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