[llvm] 3a08551 - [AMDGPU] Fix expensive check
Jeffrey Byrnes via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 10:24:38 PDT 2024
Author: Jeffrey Byrnes
Date: 2024-10-09T10:24:06-07:00
New Revision: 3a08551a0337e999d5d8ca0b0e591d1a2b934865
URL: https://github.com/llvm/llvm-project/commit/3a08551a0337e999d5d8ca0b0e591d1a2b934865
DIFF: https://github.com/llvm/llvm-project/commit/3a08551a0337e999d5d8ca0b0e591d1a2b934865.diff
LOG: [AMDGPU] Fix expensive check
Change-Id: I0b26d5db6d3da8936ab25ee2b1e9002840b9853e
Added:
Modified:
llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp b/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
index 11c95675aeeafa..57f517bfba0ebb 100644
--- a/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+++ b/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
@@ -235,7 +235,7 @@ void GCNSchedStrategy::initCandidate(SchedCandidate &Cand, SUnit *SU,
#ifdef EXPENSIVE_CHECKS
std::vector<unsigned> CheckPressure, CheckMaxPressure;
getRegisterPressures(AtTop, RPTracker, SU, CheckPressure, CheckMaxPressure,
- TheTracker, UpwardTracker, DAG, SRI);
+ DownwardTracker, UpwardTracker, DAG, SRI);
if (Pressure[AMDGPU::RegisterPressureSets::SReg_32] !=
CheckPressure[AMDGPU::RegisterPressureSets::SReg_32] ||
Pressure[AMDGPU::RegisterPressureSets::VGPR_32] !=
More information about the llvm-commits
mailing list