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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 21:45:05 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
----------------
MaskRay 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

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


More information about the llvm-commits mailing list