Skip to content

Commit

Permalink
Fixup TileOp::getOrCreate method which previously hardens row to 0 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx authored Sep 5, 2024
1 parent 3027e22 commit 05390a8
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 @@ -1181,7 +1181,7 @@ TileOp TileOp::getOrCreate(mlir::OpBuilder builder, DeviceOp device, int col,
mlir::Block &device_start_block = *device.getBodyRegion().begin();
builder.setInsertionPointToStart(&device_start_block);
tile = builder.create<TileOp>(builder.getUnknownLoc(),
builder.getIndexType(), col, 0);
builder.getIndexType(), col, row);
}
return tile;
}
Expand Down

0 comments on commit 05390a8

Please sign in to comment.