Skip to content

Commit

Permalink
Remove a stray print in the smith code. (#4891)
Browse files Browse the repository at this point in the history
Signed-off-by: fruffy <[email protected]>
  • Loading branch information
fruffy authored Aug 30, 2024
1 parent 8ba8c3c commit d93d08e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backends/p4tools/modules/smith/common/expressions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ IR::Expression *ExpressionGenerator::constructBinaryBitExpr(const IR::Type_Bits
const auto *tl = IR::Type_Bits::get(typeWidth - split, false);
const auto *tr = IR::Type_Bits::get(split, false);
// width must be known so we cast
printf("Concat: %s, %s\n", tl->toString().c_str(), tr->toString().c_str());
IR::Expression *left = constructBitExpr(tl);
if (P4Scope::prop.width_unknown) {
left = new IR::Cast(tl, left);
Expand Down

0 comments on commit d93d08e

Please sign in to comment.