Skip to content

Commit cd138fd

Browse files
authored
[AMDGPU] Turn off clang-format in moveToVALU (#75188)
1 parent 10582cb commit cd138fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5157,6 +5157,9 @@ bool SIInstrInfo::verifyInstruction(const MachineInstr &MI,
51575157
return true;
51585158
}
51595159

5160+
// It is more readable to list mapped opcodes on the same line.
5161+
// clang-format off
5162+
51605163
unsigned SIInstrInfo::getVALUOp(const MachineInstr &MI) const {
51615164
switch (MI.getOpcode()) {
51625165
default: return AMDGPU::INSTRUCTION_LIST_END;
@@ -5296,6 +5299,8 @@ unsigned SIInstrInfo::getVALUOp(const MachineInstr &MI) const {
52965299
"Unexpected scalar opcode without corresponding vector one!");
52975300
}
52985301

5302+
// clang-format on
5303+
52995304
void SIInstrInfo::insertScratchExecCopy(MachineFunction &MF,
53005305
MachineBasicBlock &MBB,
53015306
MachineBasicBlock::iterator MBBI,

0 commit comments

Comments
 (0)