[llvm] r360294 - AMDGPU: Mark scheduler classes as final
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 15:10:05 PDT 2019
Author: arsenm
Date: Wed May 8 15:10:04 2019
New Revision: 360294
URL: http://llvm.org/viewvc/llvm-project?rev=360294&view=rev
Log:
AMDGPU: Mark scheduler classes as final
Modified:
llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h
Modified: llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h?rev=360294&r1=360293&r2=360294&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h (original)
+++ llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h Wed May 8 15:10:04 2019
@@ -26,7 +26,7 @@ class GCNSubtarget;
/// and the GenericScheduler is that GCNSchedStrategy uses different
/// heuristics to determine excess/critical pressure sets. Its goal is to
/// maximize kernel occupancy (i.e. maximum number of waves per simd).
-class GCNMaxOccupancySchedStrategy : public GenericScheduler {
+class GCNMaxOccupancySchedStrategy final : public GenericScheduler {
friend class GCNScheduleDAGMILive;
SUnit *pickNodeBidirectional(bool &IsTopNode);
@@ -59,7 +59,7 @@ public:
void setTargetOccupancy(unsigned Occ) { TargetOccupancy = Occ; }
};
-class GCNScheduleDAGMILive : public ScheduleDAGMILive {
+class GCNScheduleDAGMILive final : public ScheduleDAGMILive {
const GCNSubtarget &ST;
More information about the llvm-commits
mailing list