[llvm] r339140 - [SystemZ] Comment update.

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 7 06:48:09 PDT 2018


Author: jonpa
Date: Tue Aug  7 06:48:09 2018
New Revision: 339140

URL: http://llvm.org/viewvc/llvm-project?rev=339140&view=rev
Log:
[SystemZ]  Comment update.

Update the comment in nextGroup since the ProcResourceCounters are not anymore
always decremented with '1'.

Modified:
    llvm/trunk/lib/Target/SystemZ/SystemZHazardRecognizer.cpp

Modified: llvm/trunk/lib/Target/SystemZ/SystemZHazardRecognizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZHazardRecognizer.cpp?rev=339140&r1=339139&r2=339140&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZHazardRecognizer.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZHazardRecognizer.cpp Tue Aug  7 06:48:09 2018
@@ -149,7 +149,7 @@ void SystemZHazardRecognizer::nextGroup(
 
   GrpCount += ((unsigned) NumGroups);
 
-  // Decrease counters for execution units by one.
+  // Decrease counters for execution units.
   for (unsigned i = 0; i < SchedModel->getNumProcResourceKinds(); ++i)
     ProcResourceCounters[i] = ((ProcResourceCounters[i] > NumGroups)
                                    ? (ProcResourceCounters[i] - NumGroups)




More information about the llvm-commits mailing list