Skip to content

Commit f9c0b30

Browse files
Ana MihajlovicAna Mihajlovic
authored andcommitted
nits
1 parent cc4ecd8 commit f9c0b30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ class AMDGPUInsertDelayAlu {
5454
return true;
5555

5656
if (MIFlags & SIInstrFlags::SALU) {
57-
for (auto &Op : MI.operands())
57+
for (auto &Op : MI.operands()) {
5858
if (Op.isReg())
5959
return true;
60+
}
6061
}
6162
return false;
6263
}

0 commit comments

Comments
 (0)