[all-commits] [llvm/llvm-project] b6ad23: [MachineSink] Use `RegisterClassInfo::getRegPressu...
Pengcheng Wang via All-commits
all-commits at lists.llvm.org
Tue Dec 17 22:51:23 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b6ad231666fa8be41e2f357f53072238fdb4059e
https://github.com/llvm/llvm-project/commit/b6ad231666fa8be41e2f357f53072238fdb4059e
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
Log Message:
-----------
[MachineSink] Use `RegisterClassInfo::getRegPressureSetLimit` (#119830)
`RegisterClassInfo::getRegPressureSetLimit` is a wrapper of
`TargetRegisterInfo::getRegPressureSetLimit` with some logics to
adjust the limit by removing reserved registers.
It seems that we shouldn't use
`TargetRegisterInfo::getRegPressureSetLimit`
directly, just like the comment "This limit must be adjusted
dynamically for reserved registers" said.
Separate from https://github.com/llvm/llvm-project/pull/118787
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list