Skip to content

Commit

Permalink
Fixup a bug caused by dealloc event's async dependency list (Xilinx#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx authored Mar 5, 2024
1 parent 5243a62 commit 0340ada
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlir/lib/Transform/AIRDependencyScheduleOpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3694,6 +3694,7 @@ class AIRSegmentLoopFusion
air::ExecuteOp dealloc_exec = execOpPair.second;
dealloc_exec->moveBefore(new_loop_op.getBody(),
new_loop_op.getBody()->getOperations().end());
clearAsyncDependenciesOfAsyncOp(dealloc_exec);
}

// Scf.yield op.
Expand Down

0 comments on commit 0340ada

Please sign in to comment.