[PATCH] D82314: [RFC][Coroutines] Optimize the lifespan of temporary co_await object
Xun Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 12:21:27 PDT 2020
lxfind added a comment.
@rsmith Thanks. That's a good point. Do you know if there already exists optimization passes in LLVM that attempts to shrink the range of lifetime intrinsics? If so, I am curious why that does not help in this case. Or is it generally unsafe to move the lifetime intrinsics, and we could only do it here with specific context knowledge about coroutines.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82314/new/
https://reviews.llvm.org/D82314
More information about the cfe-commits
mailing list