summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2018-01-09 23:25:38 +0000
committerEric Christopher <echristo@gmail.com>2018-01-09 23:25:38 +0000
commitd72f78e7c8d6dbef66cdbee0292237c68d780160 (patch)
treee996bbdf30a5c27c83d1578f36a35f2e81666b07 /llvm/lib/CodeGen
parent99482fda959d268d5b9fbf4cdfdd1b3e9132ec33 (diff)
downloadbcm5719-llvm-d72f78e7c8d6dbef66cdbee0292237c68d780160.tar.gz
bcm5719-llvm-d72f78e7c8d6dbef66cdbee0292237c68d780160.zip
Tidy some grammar in some comments
llvm-svn: 322133
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp2
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp6
2 files changed, 4 insertions, 4 deletions
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<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
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:
// <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.
OpenPOWER on IntegriCloud