mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[TableGen] Use ListSeparator (NFC)
This commit is contained in:
parent
422ddd21c3
commit
a19c13eefd
@ -2883,14 +2883,10 @@ static void emitCustomOperandParsing(raw_ostream &OS, CodeGenTarget &Target,
|
||||
|
||||
OS << OMI.OperandMask;
|
||||
OS << " /* ";
|
||||
bool printComma = false;
|
||||
ListSeparator LS;
|
||||
for (int i = 0, e = 31; i !=e; ++i)
|
||||
if (OMI.OperandMask & (1 << i)) {
|
||||
if (printComma)
|
||||
OS << ", ";
|
||||
OS << i;
|
||||
printComma = true;
|
||||
}
|
||||
if (OMI.OperandMask & (1 << i))
|
||||
OS << LS << i;
|
||||
OS << " */, ";
|
||||
|
||||
OS << OMI.CI->Name;
|
||||
|
Loading…
Reference in New Issue
Block a user