[all-commits] [llvm/llvm-project] f421a7: [ARM] Use `RegisterClassInfo::getRegPressureSetLim...

Pengcheng Wang via All-commits all-commits at lists.llvm.org
Thu Dec 19 19:43:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f421a7a6ee9938fd4cb940639e516757d7ad1a80
      https://github.com/llvm/llvm-project/commit/f421a7a6ee9938fd4cb940639e516757d7ad1a80
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp

  Log Message:
  -----------
  [ARM] Use `RegisterClassInfo::getRegPressureSetLimit` (#120377)

`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