[llvm] r309785 - [SimplifyCFG] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 19:34:17 PDT 2017


Author: ctopper
Date: Tue Aug  1 19:34:16 2017
New Revision: 309785

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

Modified:
    llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp

Modified: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp?rev=309785&r1=309784&r2=309785&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Tue Aug  1 19:34:16 2017
@@ -2507,7 +2507,7 @@ bool llvm::FoldBranchToCommonDest(Branch
   else {
     // For unconditional branch, check for a simple CFG pattern, where
     // BB has a single predecessor and BB's successor is also its predecessor's
-    // successor. If such pattern exisits, check for CSE between BB and its
+    // successor. If such pattern exists, check for CSE between BB and its
     // predecessor.
     if (BasicBlock *PB = BB->getSinglePredecessor())
       if (BranchInst *PBI = dyn_cast<BranchInst>(PB->getTerminator()))




More information about the llvm-commits mailing list