[llvm] r371249 - AMDGPU: Fix typo
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 13:00:23 PDT 2019
Author: arsenm
Date: Fri Sep 6 13:00:22 2019
New Revision: 371249
URL: http://llvm.org/viewvc/llvm-project?rev=371249&view=rev
Log:
AMDGPU: Fix typo
Modified:
llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp?rev=371249&r1=371248&r2=371249&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.cpp Fri Sep 6 13:00:22 2019
@@ -103,10 +103,10 @@ void GCNMaxOccupancySchedStrategy::initC
// the analysis to look through dependencies to find the path with the least
// register pressure.
- // We only need to update the RPDelata for instructions that increase
- // register pressure. Instructions that decrease or keep reg pressure
- // the same will be marked as RegExcess in tryCandidate() when they
- // are compared with instructions that increase the register pressure.
+ // We only need to update the RPDelta for instructions that increase register
+ // pressure. Instructions that decrease or keep reg pressure the same will be
+ // marked as RegExcess in tryCandidate() when they are compared with
+ // instructions that increase the register pressure.
if (ShouldTrackVGPRs && NewVGPRPressure >= VGPRExcessLimit) {
Cand.RPDelta.Excess = PressureChange(SRI->getVGPRPressureSet());
Cand.RPDelta.Excess.setUnitInc(NewVGPRPressure - VGPRExcessLimit);
More information about the llvm-commits
mailing list