@@ -1674,10 +1674,7 @@ struct AIEObjectFifoStatefulTransformPass
16741674 }
16751675 }
16761676
1677- /// Emit a UseLockOp whose lock value is a runtime-computed SSA i32. Used by
1678- /// the dynamic objectFifo lowering, where the number of locks to
1679- /// acquire/release is not known at compile time. Only valid for AIE2
1680- /// semaphore locks (the dynamic lowering targets AIE2/AIE2p).
1677+ /// Emit a UseLockOp whose lock value is a runtime-computed SSA i32.
16811678 void createUseLocksRuntime (OpBuilder &builder , ObjectFifoCreateOp op ,
16821679 ObjectFifoPort port , Value count ,
16831680 LockAction lockAction , ObjectFifoState &state ) {
@@ -2368,8 +2365,7 @@ struct AIEObjectFifoStatefulTransformPass
23682365 //===----------------------------------------------------------------===//
23692366 // For tiles using the dynamic objectFifo lowering, the number of locks
23702367 // to acquire is computed at runtime from a per-(fifo,port) "held" counter
2371- // stored in a local buffer. This replaces the static (cyclostatic)
2372- // accounting that cannot see through runtime-dependent control flow.
2368+ // stored in a local buffer.
23732369 // Runtime lock counts require semaphore locks (AIE2+); on architectures
23742370 // with binary locks (AIE1) the dynamic lowering keeps static lock counts.
23752371 bool isDynamicCore = dynamicLoweringTiles.count(coreOp.getTileOp()) > 0 &&
0 commit comments