Failures Coroutine Optimization

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Failures Coroutine Optimization

David Blaikie via cfe-dev
Hey guys, I've recently open source a coroutine based library.

We identified couple cases where clang/llvm is not able to optimize away some heap allocations. I was wondering whether there is a way to fix this, either by a workaround, compiler flags or fix in the llvm-optimisation pass.

Here is an link to the compiler explorer: 

Feedback highly appreciated.


Gaetano Checinski
Founder of Loopperfect

cfe-dev mailing list
[hidden email]