[llvm] RegPressure: Fix incorrect comment. NFC (PR #95896)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 18 02:11:59 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-regalloc
Author: None (csstormq)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/95896.diff
1 Files Affected:
- (modified) llvm/lib/CodeGen/RegisterPressure.cpp (+1-1)
``````````diff
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)
``````````
</details>
https://github.com/llvm/llvm-project/pull/95896
More information about the llvm-commits
mailing list