diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2024-04-01 09:02:40 +0300 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2024-05-21 20:25:44 +0200 |
commit | 172759492a162592da7ae9e03888661c108b1be4 (patch) | |
tree | 517b8b91eb619e138e61fba1793629e3cbf521ef | |
parent | 1fc3ce1cdb8390ed64feea939a9555d3642439ea (diff) | |
download | llvm-172759492a162592da7ae9e03888661c108b1be4.zip llvm-172759492a162592da7ae9e03888661c108b1be4.tar.gz llvm-172759492a162592da7ae9e03888661c108b1be4.tar.bz2 |
RegisterPressure: Add parameter name comment
-rw-r--r-- | llvm/lib/CodeGen/RegisterPressure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegisterPressure.cpp b/llvm/lib/CodeGen/RegisterPressure.cpp index 0104286..9a7eb49 100644 --- a/llvm/lib/CodeGen/RegisterPressure.cpp +++ b/llvm/lib/CodeGen/RegisterPressure.cpp @@ -873,7 +873,7 @@ void RegPressureTracker::recede(SmallVectorImpl<RegisterMaskPair> *LiveUses) { const MachineInstr &MI = *CurrPos; RegisterOperands RegOpers; - RegOpers.collect(MI, *TRI, *MRI, TrackLaneMasks, false); + RegOpers.collect(MI, *TRI, *MRI, TrackLaneMasks, /*IgnoreDead=*/false); if (TrackLaneMasks) { SlotIndex SlotIdx = LIS->getInstructionIndex(*CurrPos).getRegSlot(); RegOpers.adjustLaneLiveness(*LIS, *MRI, SlotIdx); @@ -1290,7 +1290,7 @@ void RegPressureTracker::bumpDownwardPressure(const MachineInstr *MI) { // Account for register pressure similar to RegPressureTracker::recede(). RegisterOperands RegOpers; - RegOpers.collect(*MI, *TRI, *MRI, TrackLaneMasks, false); + RegOpers.collect(*MI, *TRI, *MRI, TrackLaneMasks, /*IgnoreDead=*/false); if (TrackLaneMasks) RegOpers.adjustLaneLiveness(*LIS, *MRI, SlotIdx); |