[llvm-branch-commits] [TRI] Remove reserved registers in getRegPressureSetLimit (PR #211743)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 24 01:22:37 PDT 2026


================
@@ -781,9 +781,16 @@ class LLVM_ABI TargetRegisterInfo : public MCRegisterInfo {
   virtual const char *getRegPressureSetName(unsigned Idx) const = 0;
 
   /// Get the register unit pressure limit for this dimension.
-  /// This limit must be adjusted dynamically for reserved registers.
+  /// TargetRegisterInfo adjusts this limit for reserved registers.
----------------
arsenm wrote:

Referring to TargetRegisterInfo in the comment here doesn't make sense anymore.

But since the single user is supposed to be RegisterClassInfo, why is it moving here?

https://github.com/llvm/llvm-project/pull/211743


More information about the llvm-branch-commits mailing list