]> granicus.if.org Git - llvm/commitdiff
[InstCombine] Fix typo in comment. NFC
authorCraig Topper <craig.topper@gmail.com>
Thu, 29 Dec 2016 05:38:31 +0000 (05:38 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 29 Dec 2016 05:38:31 +0000 (05:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290706 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

index e76556afda6552e08db7073250bfd41155b18450..8b930bd95dfe3cd9d99e7807d01724d9596bbc78 100644 (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);