Skip to content

Commit

Permalink
Disable connecting time-multiplexed channels with tokens (Xilinx#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx authored Nov 26, 2024
1 parent 8f8a1d5 commit 7904ea7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mlir/lib/Transform/AIRDependencyScheduleOpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4090,12 +4090,8 @@ class AIRFuseChannels
remapAllParentLoopArgs(remap, a, b);
OpBuilder builder(a);
builder.setInsertionPoint(a->getBlock()->getTerminator());
auto new_b = cloneOpAndOperands(builder, remap, b);
cloneOpAndOperands(builder, remap, b);
eraseParentLoopIfEmpty(*b);
auto async_b = dyn_cast<air::AsyncOpInterface>(new_b);
if (async_b.getAsyncToken())
async_b.addAsyncDependency(
dyn_cast<air::AsyncOpInterface>(a.getOperation()).getAsyncToken());
}
void mergeChannelOpsTemporally(air::ChannelInterface a,
air::ChannelInterface b,
Expand Down

0 comments on commit 7904ea7

Please sign in to comment.