[llvm] r290706 - [InstCombine] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 28 21:38:31 PST 2016


Author: ctopper
Date: Wed Dec 28 23:38:31 2016
New Revision: 290706

URL: http://llvm.org/viewvc/llvm-project?rev=290706&view=rev
Log:
[InstCombine] Fix typo in comment. NFC

Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp?rev=290706&r1=290705&r2=290706&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp Wed Dec 28 23:38:31 2016
@@ -1090,7 +1090,7 @@ Value *InstCombiner::SimplifyDemandedVec
       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);




More information about the llvm-commits mailing list