diff options
| author | Matthias Braun <matze@braunis.de> | 2015-06-13 03:42:16 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2015-06-13 03:42:16 +0000 |
| commit | 39a2afc9417667902511b9c082d639e95d76e38f (patch) | |
| tree | 24dad3ac079be2814c5ac481474981029ead2ac7 /llvm/include | |
| parent | 88e213159a3d0650db1a1ca4cd840e4bd87b12d2 (diff) | |
| download | bcm5719-llvm-39a2afc9417667902511b9c082d639e95d76e38f.tar.gz bcm5719-llvm-39a2afc9417667902511b9c082d639e95d76e38f.zip | |
Rename TargetSubtargetInfo::enablePostMachineScheduler() to enablePostRAScheduler()
r213101 changed the behaviour of this method to not only affect the
PostMachineScheduler scheduler but also the PostRAScheduler scheduler,
renaming should make this fact clear. Also document that the preferred
way is to specify this in the scheduling model instead of overriding
this method.
Differential Revision: http://reviews.llvm.org/D10427
llvm-svn: 239659
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Target/TargetSubtargetInfo.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/include/llvm/Target/TargetSubtargetInfo.h b/llvm/include/llvm/Target/TargetSubtargetInfo.h index 0f427901a8e..e42c56add7b 100644 --- a/llvm/include/llvm/Target/TargetSubtargetInfo.h +++ b/llvm/include/llvm/Target/TargetSubtargetInfo.h @@ -115,12 +115,11 @@ public: /// can be overridden. virtual bool enableJoinGlobalCopies() const; - /// \brief True if the subtarget should run PostMachineScheduler. + /// True if the subtarget should run a scheduler after register allocation. /// - /// This only takes effect if the target has configured the - /// PostMachineScheduler pass to run, or if the global cl::opt flag, - /// MISchedPostRA, is set. - virtual bool enablePostMachineScheduler() const; + /// By default this queries the PostRAScheduling bit in the scheduling model + /// which is the preferred way to influence this. + virtual bool enablePostRAScheduler() const; /// \brief True if the subtarget should run the atomic expansion pass. virtual bool enableAtomicExpand() const; |

