Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jgmelber and github-actions[bot] authored Nov 14, 2024
1 parent 0d86176 commit c7f38ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Dialect/AIEX/IR/AIEXDialect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ LogicalResult AIEX::NpuPushQueueOp::verify() {
LogicalResult AIEX::NpuWriteBdOp::verify() {
const auto &targetModel = AIE::getTargetModel(*this);
auto numBds = targetModel.getNumBDs(getColumn(), getRow());
bool isLinearTransfer = (getD0Size() >= 1) && (getD1Size() == 1) &&
(getIterationSize() == 0);
bool isLinearTransfer =
(getD0Size() >= 1) && (getD1Size() == 1) && (getIterationSize() == 0);
if (getBdId() > numBds)
return emitOpError("BD ID exceeds the maximum ID.");
if (!isLinearTransfer && getD0Size() > 0x3FF)
Expand Down

0 comments on commit c7f38ec

Please sign in to comment.