[llvm] [NFCI][AMDGPU] Try to use PressureDiff to Calculate RegPressure. (PR #94221)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 12:45:39 PDT 2024


================
@@ -116,31 +116,85 @@ void GCNSchedStrategy::initialize(ScheduleDAGMI *DAG) {
                     << ", SGPRExcessLimit = " << SGPRExcessLimit << "\n\n");
 }
 
+static bool canUsePressureDiffs(const SUnit &SU) {
----------------
arsenm wrote:

Should document what this is doing and why it's being done 

https://github.com/llvm/llvm-project/pull/94221


More information about the llvm-commits mailing list