Skip to content

Commit fb92404

Browse files
committed
Review comments
Change-Id: I132cdb3b5709ac84ae858fa1aecee399abcec63f
1 parent d7fa3f4 commit fb92404

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

llvm/include/llvm/CodeGen/TargetSchedule.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ class TargetSchedModel {
4545

4646
unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
4747

48+
// EnableSchedModel and EnableSchedItins are used to control whether or not to
49+
// use the Target's {SchedMachineModel, InstrItins} for hardware infor based
50+
// Scheduling decisions. If both are enabled, as is the default, preference
51+
// will be given to one based on the API implementation. By disabling one, we
52+
// can force preference of the other. By disabling both, we will throw away
53+
// any target specific hardware details for scheduling decisions, and fall
54+
// into things that provide generic info such as defaultDefLatency.
4855
bool EnableSchedModel = true;
4956
bool EnableSchedItins = true;
5057

0 commit comments

Comments
 (0)