Strange coroutine optimizations

I was able to reproduce this same issue in C++ using clang’s coroutines.

Gist: https://gist.github.com/arshajii/48982bd67f6731e43c13923f308d9973
Godbolt: https://godbolt.org/z/ttpHl6

Ariya