[PATCH] D101980: [RFC] [Coroutines] Put the contents of byval argument to the frame
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 13 22:44:27 PDT 2021
ChuanqiXu added a comment.
In D101980#2758780 <https://reviews.llvm.org/D101980#2758780>, @lxfind wrote:
> Something like this: D102465 <https://reviews.llvm.org/D102465>. Let me know what you think.
Oh it is tricky. Since we add a new intrinsic use for the alloca and the intrinsic can't be analyzed by other passes. So the alloca we want wouldn't be optimized. The overall ideas looks good. For the details, I would like to emit the intrinsic for the arguments who are passed by value only. I think we could dive into it further.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101980/new/
https://reviews.llvm.org/D101980
More information about the llvm-commits
mailing list