AMDGPU: Mark scheduler classes as final

llvm-svn: 360294
This commit is contained in:
Matt Arsenault 2019-05-08 22:10:04 +00:00
parent 01434f9377
commit 462403a5c8
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class GCNSubtarget;
/// and the GenericScheduler is that GCNSchedStrategy uses different /// and the GenericScheduler is that GCNSchedStrategy uses different
/// heuristics to determine excess/critical pressure sets. Its goal is to /// heuristics to determine excess/critical pressure sets. Its goal is to
/// maximize kernel occupancy (i.e. maximum number of waves per simd). /// maximize kernel occupancy (i.e. maximum number of waves per simd).
class GCNMaxOccupancySchedStrategy : public GenericScheduler { class GCNMaxOccupancySchedStrategy final : public GenericScheduler {
friend class GCNScheduleDAGMILive; friend class GCNScheduleDAGMILive;
SUnit *pickNodeBidirectional(bool &IsTopNode); SUnit *pickNodeBidirectional(bool &IsTopNode);
@ -59,7 +59,7 @@ public:
void setTargetOccupancy(unsigned Occ) { TargetOccupancy = Occ; } void setTargetOccupancy(unsigned Occ) { TargetOccupancy = Occ; }
}; };
class GCNScheduleDAGMILive : public ScheduleDAGMILive { class GCNScheduleDAGMILive final : public ScheduleDAGMILive {
const GCNSubtarget &ST; const GCNSubtarget &ST;