[llvm] r291178 - Fix typo. NFC

Xin Tong via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 13:40:09 PST 2017


Author: trentxintong
Date: Thu Jan  5 15:40:08 2017
New Revision: 291178

URL: http://llvm.org/viewvc/llvm-project?rev=291178&view=rev
Log:
Fix typo. NFC

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp?rev=291178&r1=291177&r2=291178&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp Thu Jan  5 15:40:08 2017
@@ -997,7 +997,7 @@ bool LoopIdiomRecognize::runOnNoncountab
 /// Check if the given conditional branch is based on the comparison between
 /// a variable and zero, and if the variable is non-zero, the control yields to
 /// the loop entry. If the branch matches the behavior, the variable involved
-/// in the comparion is returned. This function will be called to see if the
+/// in the comparison is returned. This function will be called to see if the
 /// precondition and postcondition of the loop are in desirable form.
 static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry) {
   if (!BI || !BI->isConditional())




More information about the llvm-commits mailing list