[llvm-branch-commits] [llvm] [TRI] Remove reserved registers in getRegPressureSetLimit (PR #211743)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Aug 18 03:10:56 PDT 2026
================
@@ -676,6 +676,34 @@ TargetRegisterInfo::prependOffsetExpression(const DIExpression *Expr,
PrependFlags & DIExpression::EntryValue);
}
+/// This is not accurate because two overlapping register sets may have some
+/// nonoverlapping reserved registers. However, computing the allocation order
+/// for all register classes would be too expensive.
+unsigned TargetRegisterInfo::getRegPressureSetLimit(const MachineFunction &MF,
----------------
arsenm wrote:
I don't understand changing TargetRegisterInfo. *All* uses should be moved to use RegisterClassInfo
https://github.com/llvm/llvm-project/pull/211743
More information about the llvm-branch-commits
mailing list