[clang] [Clang] CGCoroutine: Skip moving parameters if the allocation decision is false (PR #81195)

Yuxuan Chen via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 09:48:19 PST 2024


yuxuanchen1997 wrote:

> I feel whether the param is needed is not related whether the allocation happens.
> 
> The param isn't needed means it is not used.

The original comment seems to suggest a runtime construct? Yeah we can also optimize further here if the param is not used. 

https://github.com/llvm/llvm-project/pull/81195


More information about the cfe-commits mailing list