[clang] [llvm] [CoroEarly] Infer presplitcoroutine attribute for Switch-Resumed ABI (PR #169866)
Chuanqi Xu via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 00:03:34 PST 2025
================
----------------
ChuanqiXu9 wrote:
> Is there a specific reason we do not promote CoroEarly ahead of AlwaysInliner?
I remember inlining may break some requirement of Coro passes. (But I failed to recall the specific reason). I am suprised that AlwaysInliner pass may run before CoroEarly. This seems in consistent to me.
> Switch ABI requires the frontend to set the presplitcoroutine attribute
If we're able to infer this, maybe we don't need to ask for this any more.
https://github.com/llvm/llvm-project/pull/169866
More information about the llvm-commits
mailing list