[llvm] [TRI] Remove reserved registers in getRegPressureSetLimit (PR #118787)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 22:55:44 PST 2024


================
@@ -674,6 +674,50 @@ TargetRegisterInfo::prependOffsetExpression(const DIExpression *Expr,
                                       PrependFlags & DIExpression::EntryValue);
 }
 
+unsigned TargetRegisterInfo::getRegPressureSetLimit(const MachineFunction &MF,
----------------
wangpc-pp wrote:

I don't think we have a way to avoid people from using `TargetRegisterInfo::getRegPressureSetLimit` directly as long as it is a public method...

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


More information about the llvm-commits mailing list