Skip to content

Commit 3ec5466

Browse files
committed
clang-format
1 parent 9af3e6b commit 3ec5466

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,12 +1086,11 @@ void WaitcntBrackets::print(raw_ostream &OS) const {
10861086
break;
10871087
}
10881088

1089-
10901089
if (SR != 0) {
10911090
// Print vgpr scores.
10921091
unsigned LB = getScoreLB(T);
10931092

1094-
for (auto &[ID, Info]: VMem) {
1093+
for (auto &[ID, Info] : VMem) {
10951094
unsigned RegScore = Info.Scores[T];
10961095
if (RegScore <= LB)
10971096
continue;
@@ -1105,10 +1104,10 @@ void WaitcntBrackets::print(raw_ostream &OS) const {
11051104

11061105
// Also need to print sgpr scores for lgkm_cnt or xcnt.
11071106
if (isSmemCounter(T)) {
1108-
for (auto &[ID, Info]: SGPRs) {
1107+
for (auto &[ID, Info] : SGPRs) {
11091108
unsigned RegScore = Info.Scores[getSgprScoresIdx(T)];
11101109
if (RegScore <= LB)
1111-
continue;
1110+
continue;
11121111
unsigned RelScore = RegScore - LB - 1;
11131112
OS << RelScore << ":sRU" << ID << " ";
11141113
}

0 commit comments

Comments
 (0)