[PATCH] D91550: [NFC] Fix spelling error in LCSSA

Ekaansh Singh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 08:36:39 PST 2020


ekaansh10 created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
ekaansh10 requested review of this revision.

Corrected spelling errors on line 320 and 364.


https://reviews.llvm.org/D91550

Files:
  llvm/lib/Transforms/Utils/LCSSA.cpp


Index: llvm/lib/Transforms/Utils/LCSSA.cpp
===================================================================
--- llvm/lib/Transforms/Utils/LCSSA.cpp
+++ llvm/lib/Transforms/Utils/LCSSA.cpp
@@ -317,7 +317,7 @@
     // worklist, unless we visited it already.
     BasicBlock *IDomBB = DT.getNode(BB)->getIDom()->getBlock();
 
-    // Exit blocks can have an immediate dominator not beloinging to the
+    // Exit blocks can have an immediate dominator not belonging to the
     // loop. For an exit block to be immediately dominated by another block
     // outside the loop, it implies not all paths from that dominator, to the
     // exit block, go through the loop.
@@ -361,7 +361,7 @@
   // We want to avoid use-scanning leveraging dominance informations.
   // If a block doesn't dominate any of the loop exits, the none of the values
   // defined in the loop can be used outside.
-  // We compute the set of blocks fullfilling the conditions in advance
+  // We compute the set of blocks fulfilling the conditions in advance
   // walking the dominator tree upwards until we hit a loop header.
   computeBlocksDominatingExits(L, DT, ExitBlocks, BlocksDominatingExits);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91550.305529.patch
Type: text/x-patch
Size: 1179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201116/8101dd2a/attachment.bin>


More information about the llvm-commits mailing list