[PATCH] D37093: [coroutines] Promote cleanup.dest.slot-like allocas to registers to avoid storing them in the coroutine frame
Gor Nishanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 5 16:25:47 PDT 2017
GorNishanov added a comment.
In https://reviews.llvm.org/D37093#861535, @hfinkel wrote:
> How about, for all uses of alloca after the original call to @llvm.coro.free, you should create a new alloca in the foo.destroy function, copy the value from the frame into that new alloca, and then use that alloca in the later code? Like this:
I see where you were going. I'll prototype and see how it looks. Thank you for your feedback.
https://reviews.llvm.org/D37093
More information about the llvm-commits
mailing list