pub fn recognize_producer_consumer(
stmts: &[Stmt<'_>],
interner: &Interner,
) -> Option<ConcurrencySpec>Expand description
Recognize the producer/consumer pipe pattern and extract its ConcurrencySpec, or None if the program
is not this shape (the caller then falls back to the sound single-core refusal).