[llvm] [NFC] Simplify checks using isDebugOrPseudoInstr API (PR #145127)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 20 18:15:55 PDT 2025
================
@@ -858,7 +858,7 @@ void RegPressureTracker::recedeSkipDebugValues() {
void RegPressureTracker::recede(SmallVectorImpl<VRegMaskOrUnit> *LiveUses) {
recedeSkipDebugValues();
- if (CurrPos->isDebugInstr() || CurrPos->isPseudoProbe()) {
+ if (CurrPos->isDebugOrPseudoInstr()) {
----------------
arsenm wrote:
I think the isDebugOrPseudoInstr name is confusing. We already have multiple notions of "pseudoinstructions" and specifically PseudoProbe isn't one of them
https://github.com/llvm/llvm-project/pull/145127
More information about the llvm-commits
mailing list