[PATCH] D101841: [Coroutines] Do not add alloca to the frame if the size is 0
John McCall via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 4 10:01:36 PDT 2021
rjmccall added a comment.
Can you test this with some code that doesn't bitcast the zero-sized alloca before its use? Just slightly worried that we might assert because of the type difference.
Assuming that that isn't a problem, LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101841/new/
https://reviews.llvm.org/D101841
More information about the llvm-commits
mailing list