From 62f06e241b3319d92e1b79760832186ad4379e0f Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 29 Dec 2016 05:38:31 +0000 Subject: [PATCH] [InstCombine] Fix typo in comment. NFC llvm-svn: 290706 --- llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp index e76556afda65..8b930bd95dfe 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp @@ -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(Shuffle->getOperand(0))) { Op = Shuffle->getOperand(1);