[PATCH] D62650: [DebugInfo] DBG_VALUE instruction generated for loop counter is placed incorrectly.
Alexey Lapshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 14:41:20 PDT 2019
avl added a comment.
following performance results with and without this patch. they are equal :
if this patch applied:
time clang foo.c -O2 -c -g -mllvm -stats 2>&1 | grep livedebug
15074 livedebugvars - Number of DBG_VALUEs inserted
real 0m4,819s
user 0m4,799s
sys 0m0,022s
if this patch is not applied:
time clang foo.c -O2 -c -g -mllvm -stats 2>&1 | grep livedebug
15074 livedebugvars - Number of DBG_VALUEs inserted
real 0m4,838s
user 0m4,808s
sys 0m0,032s
Before D35953 <https://reviews.llvm.org/D35953> that time was over 40min.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62650/new/
https://reviews.llvm.org/D62650
More information about the llvm-commits
mailing list