Skip to content

Commit bbae7b3

Browse files
committed
Fix formatting
1 parent 0e86009 commit bbae7b3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,9 @@ bool AMDGPUInstructionSelector::selectCOPY_SCC_VCC(MachineInstr &I) const {
225225
MachineInstr *Cmp;
226226

227227
if (STI.getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS) {
228-
unsigned CmpOpc = STI.isWave64() ? AMDGPU::S_CMP_LG_U64 : AMDGPU::S_CMP_LG_U32;
229-
Cmp = BuildMI(*BB, &I, DL, TII.get(CmpOpc))
230-
.addReg(VCCReg)
231-
.addImm(0);
228+
unsigned CmpOpc =
229+
STI.isWave64() ? AMDGPU::S_CMP_LG_U64 : AMDGPU::S_CMP_LG_U32;
230+
Cmp = BuildMI(*BB, &I, DL, TII.get(CmpOpc)).addReg(VCCReg).addImm(0);
232231
} else {
233232
// For gfx7 and earlier, S_CMP_LG_U64 doesn't exist, so we use S_OR_B64
234233
// which sets SCC as a side effect.

0 commit comments

Comments
 (0)