[PATCH] D96938: [RFC] [Coroutine] [Debug] Insert dbg.declare to entry.resume to print alloca in the coroutine frame under O2
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 15:30:13 PST 2021
aprantl added a comment.
Could you post an example that you are interested in at -O2 and show the diff of the LLVM IR for your example before/after this patch? I find it unintuitive that removing the shadow copy improved the debug info, but if don't need it and removing it doesn't pessimize the situation at -O0 we could remove it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96938/new/
https://reviews.llvm.org/D96938
More information about the llvm-commits
mailing list