summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQingShan Zhang <qshanz@cn.ibm.com>2019-03-06 02:39:18 +0000
committerQingShan Zhang <qshanz@cn.ibm.com>2019-03-06 02:39:18 +0000
commit6a8aa0e89807a3c93c4831b10f489dbfb37980fb (patch)
tree60f075ce61ab7d176d632b36d730741890109dbe
parent112ea336c3eff43dbd5a5cb944ac03ab342e2976 (diff)
downloadbcm5719-llvm-6a8aa0e89807a3c93c4831b10f489dbfb37980fb.tar.gz
bcm5719-llvm-6a8aa0e89807a3c93c4831b10f489dbfb37980fb.zip
[NFC] Declare the member data of class PostGenericScheduler as "protected" instead of "private"
Some target might try to subclass the PostGenericScheduler to custom the scheduling strategy. We need to declare the member data of PostGenericScheduler as "protected", which acts the same as "GenericScheduler". Differential Revision: https://reviews.llvm.org/D58949 llvm-svn: 355475
-rw-r--r--llvm/include/llvm/CodeGen/MachineScheduler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineScheduler.h b/llvm/include/llvm/CodeGen/MachineScheduler.h
index 70579987702..692335fc7a6 100644
--- a/llvm/include/llvm/CodeGen/MachineScheduler.h
+++ b/llvm/include/llvm/CodeGen/MachineScheduler.h
@@ -1014,6 +1014,7 @@ protected:
/// Callbacks from ScheduleDAGMI:
/// initPolicy -> initialize(DAG) -> registerRoots -> pickNode ...
class PostGenericScheduler : public GenericSchedulerBase {
+protected:
ScheduleDAGMI *DAG;
SchedBoundary Top;
SmallVector<SUnit*, 8> BotRoots;
OpenPOWER on IntegriCloud