Skip to content

Commit 21969f3

Browse files
committed
[llvm-mca] Fix formatting in InstrBuilder.cpp
1 parent 988d78e commit 21969f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/MCA/InstrBuilder.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,14 @@ static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc,
225225
unsigned CallLatency) {
226226
if (MCDesc.isCall()) {
227227
// We cannot estimate how long this call will take.
228-
// Artificially set an arbitrarily high latency (default: 100cy).
228+
// Artificially set an arbitrarily high latency.
229229
ID.MaxLatency = CallLatency;
230230
return;
231231
}
232232

233233
int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc);
234-
// If latency is unknown, then conservatively assume a MaxLatency set for calls (default: 100cy).
234+
// If latency is unknown, then conservatively assume the MaxLatency set for
235+
// calls.
235236
ID.MaxLatency = Latency < 0 ? CallLatency : static_cast<unsigned>(Latency);
236237
}
237238

0 commit comments

Comments
 (0)