Skip to content

Commit

Permalink
[HLS] Fix select op printing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hanchenye authored Feb 8, 2024
1 parent 3101002 commit b69f334
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Dialect/HLS/HLS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1000,12 +1000,11 @@ void AffineSelectOp::print(OpAsmPrinter &p) {
p.printOperand(getTrueValue());
p << ", ";
p.printOperand(getFalseValue());
p << " : ";
p.printType(getType());

// Print the attribute list.
p.printOptionalAttrDict((*this)->getAttrs(),
/*elidedAttrs=*/getConditionAttrStrName());
p << " : ";
p.printType(getType());
}

IntegerSet AffineSelectOp::getIntegerSet() {
Expand Down

0 comments on commit b69f334

Please sign in to comment.