Skip to content

Commit dae8dc5

Browse files
committed
clang-format
1 parent 872e361 commit dae8dc5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/include/llvm/CodeGen/MachineTraceMetrics.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,9 @@ class MachineTraceMetrics {
382382
Trace getTrace(const MachineBasicBlock *MBB);
383383

384384
/// Updates the depth of an machine instruction, given RegUnits.
385-
void updateDepth(TraceBlockInfo &TBI, const MachineInstr&,
385+
void updateDepth(TraceBlockInfo &TBI, const MachineInstr &,
386386
LiveRegUnitSet &RegUnits);
387-
void updateDepth(const MachineBasicBlock *, const MachineInstr&,
387+
void updateDepth(const MachineBasicBlock *, const MachineInstr &,
388388
LiveRegUnitSet &RegUnits);
389389

390390
/// Updates the depth of the instructions from Start to End.

llvm/lib/CodeGen/MachineTraceMetrics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,8 @@ void MachineTraceMetrics::Ensemble::updateDepth(const MachineBasicBlock *MBB,
861861
void MachineTraceMetrics::Ensemble::updateDepths(
862862
MachineBasicBlock::iterator Start, MachineBasicBlock::iterator End,
863863
LiveRegUnitSet &RegUnits) {
864-
for (; Start != End; Start++)
865-
updateDepth(Start->getParent(), *Start, RegUnits);
864+
for (; Start != End; Start++)
865+
updateDepth(Start->getParent(), *Start, RegUnits);
866866
}
867867

868868
/// Compute instruction depths for all instructions above or in MBB in its

0 commit comments

Comments
 (0)