[llvm] [TRI] Remove reserved registers in getRegPressureSetLimit (PR #118787)
Pengcheng Wang via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 22:59:19 PST 2024
================
@@ -674,6 +674,50 @@ TargetRegisterInfo::prependOffsetExpression(const DIExpression *Expr,
PrependFlags & DIExpression::EntryValue);
}
+unsigned TargetRegisterInfo::getRegPressureSetLimit(const MachineFunction &MF,
----------------
wangpc-pp wrote:
We can add a comment on `TargetRegisterInfo::getRegPressureSetLimit` to suggest people to use `RegisterClassInfo`, it may help in a way... And then, we can rewrite those direct users to use `RegisterClassInfo` as follow ups.
https://github.com/llvm/llvm-project/pull/118787
More information about the llvm-commits
mailing list