[cfe-dev] Failures Coroutine Optimization

Gaetano Checinski via cfe-dev cfe-dev at lists.llvm.org
Thu Nov 1 08:14:46 PDT 2018


Hey guys, I've recently open source a coroutine based library
<https://github.com/loopperfect/conduit>.

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:
https://godbolt.org/z/kMEWEO

Feedback highly appreciated.

-- 
Regards,

Gaetano Checinski
Founder of Loopperfect
https://loopperfect.com
https://buckaroo.pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20181101/28a69ab4/attachment.html>


More information about the cfe-dev mailing list