[llvm-bugs] [Bug 50652] [Coroutine] Coroutine Elide would eliminate user provided new even if it had side effects

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 10 01:16:00 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50652

Chuanqi Xu <yedeng.yd at linux.alibaba.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Chuanqi Xu <yedeng.yd at linux.alibaba.com> ---
>From the language side, it says:
```
An implementation **may** need to allocate additional storage for a coroutine.
```
The words may here tells that it is OK to not call the allocate function.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210610/d20ab0a3/attachment-0001.html>


More information about the llvm-bugs mailing list