Skip to content

Commit d7fa3f4

Browse files
committed
Formatting
Change-Id: Ied902da014ca3dff4fc47f2a0871523b0dcd97da
1 parent c279a9d commit d7fa3f4

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

llvm/include/llvm/CodeGen/TargetSchedule.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ class TargetSchedModel {
5656
/// The machine model API keeps a copy of the top-level MCSchedModel table
5757
/// indices and may query TargetSubtargetInfo and TargetInstrInfo to resolve
5858
/// dynamic properties.
59-
void init(const TargetSubtargetInfo *TSInfo,
60-
bool EnableSModel = true, bool EnableSItins = true);
59+
void init(const TargetSubtargetInfo *TSInfo, bool EnableSModel = true,
60+
bool EnableSItins = true);
6161

6262
/// Return the MCSchedClassDesc for this instruction.
6363
const MCSchedClassDesc *resolveSchedClass(const MachineInstr *MI) const;

llvm/lib/CodeGen/ScheduleDAGInstrs.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,13 @@ static cl::opt<bool>
6969
static cl::opt<bool> UseTBAA("use-tbaa-in-sched-mi", cl::Hidden,
7070
cl::init(true), cl::desc("Enable use of TBAA during MI DAG construction"));
7171

72-
static cl::opt<bool> EnableSchedModel("schedmodel", cl::Hidden, cl::init(true),
73-
cl::desc("Use TargetSchedModel for latency lookup"));
72+
static cl::opt<bool>
73+
EnableSchedModel("schedmodel", cl::Hidden, cl::init(true),
74+
cl::desc("Use TargetSchedModel for latency lookup"));
7475

75-
static cl::opt<bool> EnableSchedItins("scheditins", cl::Hidden, cl::init(true),
76-
cl::desc("Use InstrItineraryData for latency lookup"));
76+
static cl::opt<bool>
77+
EnableSchedItins("scheditins", cl::Hidden, cl::init(true),
78+
cl::desc("Use InstrItineraryData for latency lookup"));
7779

7880
// Note: the two options below might be used in tuning compile time vs
7981
// output quality. Setting HugeRegion so large that it will never be

llvm/lib/CodeGen/TargetSchedule.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ bool TargetSchedModel::hasInstrItineraries() const {
4141
return EnableSchedItins && !InstrItins.isEmpty();
4242
}
4343

44-
void TargetSchedModel::init(const TargetSubtargetInfo *TSInfo, bool EnableSModel, bool EnableSItins) {
44+
void TargetSchedModel::init(const TargetSubtargetInfo *TSInfo,
45+
bool EnableSModel, bool EnableSItins) {
4546
STI = TSInfo;
4647
SchedModel = TSInfo->getSchedModel();
4748
TII = TSInfo->getInstrInfo();

0 commit comments

Comments
 (0)