[InstCombine] Fix typo in comment. NFC

llvm-svn: 290706
This commit is contained in:
Craig Topper 2016-12-29 05:38:31 +00:00
parent 2e18bcfc60
commit 62f06e241b
1 changed files with 1 additions and 1 deletions

View File

@ -1090,7 +1090,7 @@ Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
Constant *Value = nullptr;
unsigned Idx = -1u;
// Find constant vector wigth the single element in shuffle (LHS or RHS).
// Find constant vector with the single element in shuffle (LHS or RHS).
if (LHSIdx < LHSVWidth && RHSUniform) {
if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) {
Op = Shuffle->getOperand(1);