Skip to content

RegPressure: Fix incorrect comment. NFC #95896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2024
Merged

RegPressure: Fix incorrect comment. NFC #95896

merged 1 commit into from
Jun 18, 2024

Conversation

csstormq
Copy link
Contributor

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Jun 18, 2024

@llvm/pr-subscribers-llvm-regalloc

Author: None (csstormq)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/95896.diff

1 Files Affected:

  • (modified) llvm/lib/CodeGen/RegisterPressure.cpp (+1-1)
diff --git a/llvm/lib/CodeGen/RegisterPressure.cpp b/llvm/lib/CodeGen/RegisterPressure.cpp
index 9a7eb49666b2c..59a1911555e9c 100644
--- a/llvm/lib/CodeGen/RegisterPressure.cpp
+++ b/llvm/lib/CodeGen/RegisterPressure.cpp
@@ -1288,7 +1288,7 @@ void RegPressureTracker::bumpDownwardPressure(const MachineInstr *MI) {
   if (RequireIntervals)
     SlotIdx = LIS->getInstructionIndex(*MI).getRegSlot();
 
-  // Account for register pressure similar to RegPressureTracker::recede().
+  // Account for register pressure similar to RegPressureTracker::advance().
   RegisterOperands RegOpers;
   RegOpers.collect(*MI, *TRI, *MRI, TrackLaneMasks, /*IgnoreDead=*/false);
   if (TrackLaneMasks)

@csstormq csstormq requested a review from arsenm June 18, 2024 09:12
@csstormq csstormq merged commit 7ea203b into llvm:main Jun 18, 2024
6 of 8 checks passed
@csstormq csstormq deleted the rp branch June 18, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants