pub fn recognize_dynamic_producer(
stmts: &[Stmt<'_>],
interner: &Interner,
) -> Option<DynamicSpec>Expand description
Recognize a loop-driven producer: main launches a task whose body is a single
Repeat for i from lo to hi: Send <expr> into ch. Extracts the bounds + the C send expression.