From d72f78e7c8d6dbef66cdbee0292237c68d780160 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 9 Jan 2018 23:25:38 +0000 Subject: Tidy some grammar in some comments llvm-svn: 322133 --- llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp | 2 +- llvm/lib/CodeGen/CodeGenPrepare.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp b/llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp index 3cdab57bca7..871699afcb6 100644 --- a/llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp @@ -149,7 +149,7 @@ computeActionsTable(const SmallVectorImpl &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 diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 26ca8d4ee88..af69f8467df 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -2809,11 +2809,11 @@ private: // -> ? // 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 NewPhiNodes; - // Tracks of new created Select nodes. + // Tracks newly created Select nodes. SmallPtrSet 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. -- cgit v1.2.3