Skip to content

Commit

Permalink
Tidy some grammar in some comments
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322133 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
echristo committed Jan 9, 2018
1 parent 9004bff commit 38e8da8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/CodeGen/AsmPrinter/EHStreamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions lib/CodeGen/CodeGenPrepare.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2809,11 +2809,11 @@ class AddressingModeCombiner {
// <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.
Expand Down

0 comments on commit 38e8da8

Please sign in to comment.