Skip to content

Commit 385f862

Browse files
authored
[TableGen] Fix indentation of generated code. NFC
This line was missing the indent(4) call. Noticed while looking at the generated code. Pull Request: #194765
1 parent 81545fa commit 385f862

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

llvm/utils/TableGen/AsmMatcherEmitter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,8 @@ static void emitValidateOperandClass(const CodeGenTarget &Target,
26172617
OS << indent(4)
26182618
<< "const unsigned HwMode = "
26192619
"STI.getHwMode(MCSubtargetInfo::HwMode_RegInfo);\n"
2620-
"Kind = RegClassByHwModeMatchTable[HwMode][Kind - (MCK_LAST_REGISTER "
2620+
<< indent(4)
2621+
<< "Kind = RegClassByHwModeMatchTable[HwMode][Kind - (MCK_LAST_REGISTER "
26212622
"+ 1)];\n"
26222623
" }\n\n";
26232624
}

0 commit comments

Comments
 (0)