[PATCH] D128175: Corrected some typos found in MachineSink.cpp
Zhixuan Huan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 20 03:13:47 PDT 2022
hudsontek created this revision.
hudsontek added reviewers: MatzeB, wenlei, modimo.
hudsontek added a project: LLVM.
Herald added a subscriber: hiraditya.
Herald added a project: All.
hudsontek requested review of this revision.
Herald added a subscriber: llvm-commits.
Corrected some typo in llvm/lib/CodeGen/MachineSink.cpp
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128175
Files:
llvm/lib/CodeGen/MachineSink.cpp
Index: llvm/lib/CodeGen/MachineSink.cpp
===================================================================
--- llvm/lib/CodeGen/MachineSink.cpp
+++ llvm/lib/CodeGen/MachineSink.cpp
@@ -222,7 +222,7 @@
bool SinkInstruction(MachineInstr &MI, bool &SawStore,
AllSuccsCache &AllSuccessors);
- /// If we sink a COPY inst, some debug users of it's destination may no
+ /// If we sink a COPY inst, some debug users of its destination may no
/// longer be dominated by the COPY, and will eventually be dropped.
/// This is easily rectified by forwarding the non-dominated debug uses
/// to the copy source.
@@ -315,7 +315,7 @@
if (MRI->use_nodbg_empty(Reg))
return true;
- // BreakPHIEdge is true if all the uses are in the successor MBB being sunken
+ // BreakPHIEdge is true if all the uses are in the successor MBB being sunk
// into and they are all PHI nodes. In this case, machine-sink must break
// the critical edge first. e.g.
//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128175.438318.patch
Type: text/x-patch
Size: 1007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220620/1a29bfe4/attachment.bin>
More information about the llvm-commits
mailing list