From 7904ea742ee37f7020dea85376f20d9aec04a377 Mon Sep 17 00:00:00 2001 From: erwei-xilinx Date: Tue, 26 Nov 2024 09:05:09 +0800 Subject: [PATCH] Disable connecting time-multiplexed channels with tokens (#795) --- mlir/lib/Transform/AIRDependencyScheduleOpt.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mlir/lib/Transform/AIRDependencyScheduleOpt.cpp b/mlir/lib/Transform/AIRDependencyScheduleOpt.cpp index ef7053292..c1b5a05af 100644 --- a/mlir/lib/Transform/AIRDependencyScheduleOpt.cpp +++ b/mlir/lib/Transform/AIRDependencyScheduleOpt.cpp @@ -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(new_b); - if (async_b.getAsyncToken()) - async_b.addAsyncDependency( - dyn_cast(a.getOperation()).getAsyncToken()); } void mergeChannelOpsTemporally(air::ChannelInterface a, air::ChannelInterface b,