Skip to content

Commit

Permalink
Fix printer of objectFifo consumerTiles (#1147)
Browse files Browse the repository at this point in the history
Co-authored-by: AndraBisca <[email protected]>
  • Loading branch information
AndraBisca and abisca authored Apr 2, 2024
1 parent d233485 commit 1e4a49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/AIE/IR/AIEDialect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ void printObjectFifoConsumerTiles(OpAsmPrinter &printer, Operation *op,
size_t tileIdx = 0;
for (auto tile : tiles) {
printer << tile;
if (dimsPerTileAttr && dimsPerTileAttr.size() == tiles.size() &&
if (dimsPerTileAttr && tileIdx < dimsPerTileAttr.size() &&
dimsPerTileAttr[tileIdx] && !dimsPerTileAttr[tileIdx].empty()) {
printer << " fromStream ";
printer.printStrippedAttrOrType(dimsPerTileAttr[tileIdx]);
Expand Down

0 comments on commit 1e4a49e

Please sign in to comment.