Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zyedidia committed Aug 29, 2022
1 parent d7d90ee commit b1a1af2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Dialect/FIRRTL/Transforms/ExpandWhens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class LastConnectResolver : public FIRRTLVisitor<ConcreteT> {
continue;
auto *inputOp = op.getInput().getDefiningOp();
// canonicalize through asSInt primOps
// bits(asSInt(x), ..., ...) -> bits(x, ..., ...)
if (auto asSInt = dyn_cast<AsSIntPrimOp>(inputOp)) {
inputOp = asSInt.getInput().getDefiningOp();
if (!inputOp)
Expand Down

0 comments on commit b1a1af2

Please sign in to comment.