mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Allow targets more controls on what nodes are scheduled by reg pressure, what for latency in hybrid mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -149,6 +149,13 @@ public:
|
||||
return SchedPreferenceInfo;
|
||||
}
|
||||
|
||||
/// getSchedulingPreference - Some scheduler, e.g. hybrid, can switch to
|
||||
/// different scheduling heuristics for different nodes. This function returns
|
||||
/// the preference (or none) for the given node.
|
||||
virtual Sched::Preference getSchedulingPreference(SDNode *N) const {
|
||||
return Sched::None;
|
||||
}
|
||||
|
||||
/// getRegClassFor - Return the register class that should be used for the
|
||||
/// specified value type.
|
||||
virtual TargetRegisterClass *getRegClassFor(EVT VT) const {
|
||||
|
Reference in New Issue
Block a user