[PATCH] D82314: [RFC][Coroutines] Optimize the lifespan of temporary co_await object
JunMa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 01:02:16 PDT 2020
junparser added a comment.
@lxfind, Thank you! And could you please add some testcases?
================
Comment at: llvm/lib/Transforms/Coroutines/CoroSplit.cpp:1286
+ continue;
+ if (CastInst) {
+ // If we have multiple cast instructions for the alloca, don't
----------------
It is possible to handle multiple cast instructions as long as they are only used by lifetime marker intrinsic.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82314/new/
https://reviews.llvm.org/D82314
More information about the llvm-commits
mailing list