[Seq] Format FIFO printers, NFC

This commit is contained in:
Hideto Ueno 2024-07-09 08:22:55 -07:00
parent 3f09e3df07
commit 31c37c47df
1 changed files with 4 additions and 8 deletions

View File

@ -250,18 +250,14 @@ ParseResult parseFIFOAEThreshold(OpAsmParser &parser, IntegerAttr &threshold,
void printFIFOAFThreshold(OpAsmPrinter &p, Operation *op, IntegerAttr threshold,
Type outputFlagType) {
if (threshold) {
p << "almost_full"
<< " " << threshold.getInt();
}
if (threshold)
p << "almost_full" << " " << threshold.getInt();
}
void printFIFOAEThreshold(OpAsmPrinter &p, Operation *op, IntegerAttr threshold,
Type outputFlagType) {
if (threshold) {
p << "almost_empty"
<< " " << threshold.getInt();
}
if (threshold)
p << "almost_empty" << " " << threshold.getInt();
}
void FIFOOp::getAsmResultNames(OpAsmSetValueNameFn setNameFn) {