[llvm] [CodeGen][MachineScheduler][NFC]Update some comments of scheduler (PR #74705)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 22:26:39 PST 2023


================
@@ -747,9 +747,9 @@ void ScheduleDAGMI::finishBlock() {
   ScheduleDAGInstrs::finishBlock();
 }
 
-/// enterRegion - Called back from MachineScheduler::runOnMachineFunction after
-/// crossing a scheduling boundary. [begin, end) includes all instructions in
-/// the region, including the boundary itself and single-instruction regions
+/// enterRegion - Called back from PostMachineScheduler::runOnMachineFunction
----------------
wangpc-pp wrote:

> The convention for new code is "Don’t duplicate function or class name at the beginning of the comment." https://llvm.org/docs/CodingStandards.html#commenting

I think this is a fix for existed comments. :-)

https://github.com/llvm/llvm-project/pull/74705


More information about the llvm-commits mailing list