mirror of https://github.com/llvm/circt.git
[Seq] Format FIFO printers, NFC
This commit is contained in:
parent
3f09e3df07
commit
31c37c47df
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue