Przeglądaj źródła

Tidy some grammar in some comments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322133 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Christopher 7 lat temu
rodzic
commit
38e8da83a1

+ 1 - 1
lib/CodeGen/AsmPrinter/EHStreamer.cpp

@@ -149,7 +149,7 @@ computeActionsTable(const SmallVectorImpl<const LandingPadInfo*> &LandingPads,
       FirstAction = SizeActions + SizeSiteActions - SizeAction + 1;
     } // else identical - re-use previous FirstAction
 
-    // Information used when created the call-site table. The action record
+    // Information used when creating the call-site table. The action record
     // field of the call site record is the offset of the first associated
     // action record, relative to the start of the actions table. This value is
     // biased by 1 (1 indicating the start of the actions table), and 0

+ 3 - 3
lib/CodeGen/CodeGenPrepare.cpp

@@ -2809,11 +2809,11 @@ private:
   //   <p, BB3> -> ?
   // The function tries to find or build phi [b1, BB1], [b2, BB2] in BB3
   Value *findCommon(FoldAddrToValueMapping &Map) {
-    // Tracks of new created Phi nodes.
+    // Tracks newly created Phi nodes.
     SmallPtrSet<PHINode *, 32> NewPhiNodes;
-    // Tracks of new created Select nodes.
+    // Tracks newly created Select nodes.
     SmallPtrSet<SelectInst *, 32> NewSelectNodes;
-    // Tracks the simplification of new created phi nodes. The reason we use
+    // Tracks the simplification of newly created phi nodes. The reason we use
     // this mapping is because we will add new created Phi nodes in AddrToBase.
     // Simplification of Phi nodes is recursive, so some Phi node may
     // be simplified after we added it to AddrToBase.