Skip to content

Commit

Permalink
Rooting out error
Browse files Browse the repository at this point in the history
  • Loading branch information
abisca committed Apr 24, 2024
1 parent 25bc685 commit 1efb1ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Dialect/AIE/Transforms/AIEAssignBuffers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ LogicalResult basicAllocation(TileOp &tile) {

// Sort by smallest address before printing memory map.
std::sort(buffers.begin(), buffers.end(), [](BufferOp a, BufferOp b) {
assert(a.getAddress().has_value() && "buffer must have address assigned");
assert(b.getAddress().has_value() && "buffer must have address assigned");
assert(a.getAddress().has_value() && "buffer must have address assigned2");
assert(b.getAddress().has_value() && "buffer must have address assigned2");
return a.getAddress().value() < b.getAddress().value();
});
// Check if memory was exceeded on any bank and print debug info.
Expand Down

0 comments on commit 1efb1ae

Please sign in to comment.