[llvm] 733fe42 - [AMDGPU][NFC] Fix out-of-line definition sanitizer error after 05851eb3

Austin Kerbow via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 16 09:01:38 PDT 2025


Author: Austin Kerbow
Date: 2025-10-16T08:59:22-07:00
New Revision: 733fe4266ce26fa47ce02e3a62b7a104ef791ff3

URL: https://github.com/llvm/llvm-project/commit/733fe4266ce26fa47ce02e3a62b7a104ef791ff3
DIFF: https://github.com/llvm/llvm-project/commit/733fe4266ce26fa47ce02e3a62b7a104ef791ff3.diff

LOG: [AMDGPU][NFC] Fix out-of-line definition sanitizer error after 05851eb3

NDEBUG check was removed from definition but not function declaration.

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/GCNSchedStrategy.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h b/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
index cab3cba3b35d7..975781fea9452 100644
--- a/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
+++ b/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
@@ -67,10 +67,8 @@ class GCNSchedStrategy : public GenericScheduler {
   bool tryPendingCandidate(SchedCandidate &Cand, SchedCandidate &TryCand,
                            SchedBoundary *Zone) const;
 
-#ifndef NDEBUG
   void printCandidateDecision(const SchedCandidate &Current,
                               const SchedCandidate &Preferred);
-#endif
 
   std::vector<unsigned> Pressure;
 


        


More information about the llvm-commits mailing list