[llvm] [llvm][Comment] removing out-of-date comment, ARM backend no longer uses ScheduleDAGRRList (PR #117803)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 26 14:27:34 PST 2024
https://github.com/CBSears created https://github.com/llvm/llvm-project/pull/117803
None
>From c6bd8aed2b3999e76ab34780ed5e8d8931804599 Mon Sep 17 00:00:00 2001
From: Chris Sears <chris.sears at gmail.com>
Date: Tue, 26 Nov 2024 16:14:32 -0500
Subject: [PATCH] [llvm][Comment] removing out-of-date comment, ARM backend no
longer uses ScheduleDAGRRList
---
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
index a1f068f0e049bd..eac9e12dc17ee5 100644
--- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
@@ -314,9 +314,6 @@ ARMBaseRegisterInfo::getRegPressureLimit(const TargetRegisterClass *RC,
default:
return 0;
case ARM::tGPRRegClassID: {
- // hasFP ends up calling getMaxCallFrameComputed() which may not be
- // available when getPressureLimit() is called as part of
- // ScheduleDAGRRList.
bool HasFP = MF.getFrameInfo().isMaxCallFrameSizeComputed()
? TFI->hasFP(MF) : true;
return 5 - HasFP;
More information about the llvm-commits
mailing list