ChuanqiXu added a comment.

In D95807#2849128 <https://reviews.llvm.org/D95807#2849128>, @lxfind wrote:

>> If coroutine ramp function couldn't get inlined, it would disable coroutine 
>> elide optimization. Could you elaborate more on why do you want to do that?
>
> Ramp function will eventually be inlined, but not when you run Inliner on the 
> inlinee.
> Let's say coroutine A calls coroutine B, and eventually we want to inline B 
> into A so that we could perform CoroElide on A.
> After B is split, we don't need to run inliner again on B. When we run 
> inliner on A, A will inline B.

Thanks for clarifying.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95807/new/

https://reviews.llvm.org/D95807

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to