[PATCH] D137872: Try to implement lambdas with inalloca parameters by forwarding without use of inallocas.

Amy Huang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 18 16:43:32 PST 2022


akhuang added a comment.

In D137872#3925723 <https://reviews.llvm.org/D137872#3925723>, @efriedma wrote:

> I'm not quite sure I understand what's happening here.  Does this actually avoid generating two copies of the function body if both the call operator and the conversion are used?

That was intended but missing; patch is now updated to make both the invoker and the call operator call the new function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137872



More information about the cfe-commits mailing list