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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 12 17:54:23 PDT 2018


Author: ctopper
Date: Sun Aug 12 17:54:23 2018
New Revision: 339532

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

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

Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp?rev=339532&r1=339531&r2=339532&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp Sun Aug 12 17:54:23 2018
@@ -2510,7 +2510,7 @@ Instruction *InstCombiner::visitXor(Bina
   Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1);
 
   // Fold (X & M) ^ (Y & ~M) -> (X & M) | (Y & ~M)
-  // This it a special case in haveNoCommonBitsSet, but the commputeKnownBits
+  // This it a special case in haveNoCommonBitsSet, but the computeKnownBits
   // calls in there are unnecessary as SimplifyDemandedInstructionBits should
   // have already taken care of those cases.
   Value *M;




More information about the llvm-commits mailing list