Merge pull request #18162 from ronawho/bounded-zippered-coforall-opt
Extend bounded coforall optimization to zippered loops
#5018 and #6419 optimized bounded coforalls over ranges/domains/arrays
by reducing the number of times we manipulate the endCount. However, it
only did this for direct loops, and not zippered ones. The lack of this
optimization led to regressions from #17354, which changed some direct
coforalls to zippered ones. That PR reduced the amount of communication,
but the overhead from not triggering the bounded coforall optimization
outweighed that, so it was partially reverted in #17531.
This extends the bounded coforall optimization to trigger for zippered
loops and reverts #17531.
Modified Files: M compiler/AST/build.cpp