[llvm] r258057 - fix typo; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 09:50:24 PST 2016


Author: spatel
Date: Mon Jan 18 11:50:23 2016
New Revision: 258057

URL: http://llvm.org/viewvc/llvm-project?rev=258057&view=rev
Log:
fix typo; 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=258057&r1=258056&r2=258057&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp Mon Jan 18 11:50:23 2016
@@ -1413,7 +1413,7 @@ Instruction *InstCombiner::visitAnd(Bina
         if (B == tmpOp0) {
           std::swap(A, B);
         }
-        // Notice that the patten (A&(~B)) is actually (A&(-1^B)), so if
+        // Notice that the pattern (A&(~B)) is actually (A&(-1^B)), so if
         // A is originally -1 (or a vector of -1 and undefs), then we enter
         // an endless loop. By checking that A is non-constant we ensure that
         // we will never get to the loop.




More information about the llvm-commits mailing list