We don't want to get stuck in BBQ forever in a long running loop. I think architecturally it'd just be best if we compiled a single BBQ Air Callee. That Callee can support OSR entering at certain loop boundaries. Perhaps we can implement it via entry switch. If we do that, this problem solves itself.
Created attachment 447847 [details] WIP
Created attachment 447849 [details] WIP It's revealing a regalloc bug in O0
<rdar://problem/86968861>