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

Pengcheng Wang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 24 03:30:33 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.
----------------
wangpc-pp wrote:

The comment is reworded.

I didn't move this function, I just made it consistent as the description says.

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


More information about the llvm-branch-commits mailing list