diff options
Diffstat (limited to 'include/llvm/Target/TargetSubtargetInfo.h')
-rw-r--r-- | include/llvm/Target/TargetSubtargetInfo.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/llvm/Target/TargetSubtargetInfo.h b/include/llvm/Target/TargetSubtargetInfo.h index 0f427901a8ec..640e1123e928 100644 --- a/include/llvm/Target/TargetSubtargetInfo.h +++ b/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; @@ -179,6 +178,6 @@ public: virtual bool enableSubRegLiveness() const { return false; } }; -} // End llvm namespace +} // namespace llvm #endif |