Skip to content

Commit

Permalink
Merge branch 'objfifo-init' of https://github.com/Xilinx/mlir-aie int…
Browse files Browse the repository at this point in the history
…o objfifo-init
  • Loading branch information
abisca committed Oct 30, 2024
2 parents 21064be + 07349b3 commit bdccd1b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,9 @@ struct AIEObjectFifoStatefulTransformPass
}
} else {
// create corresponding aie2 locks
auto initValues = op.getInitValues().has_value() ? op.getInitValues().value().size() : 0;
auto initValues = op.getInitValues().has_value()
? op.getInitValues().value().size()
: 0;
int prodLockID = lockAnalysis.getLockID(creation_tile);
assert(prodLockID >= 0 && "No more locks to allocate!");
auto prodLock = builder.create<LockOp>(
Expand Down

0 comments on commit bdccd1b

Please sign in to comment.