[PATCH] D11933: Extending debug ranges
Vikram TV via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 00:46:51 PDT 2015
tvvikram added a comment.
In http://reviews.llvm.org/D11933#226659, @friss wrote:
> > c. Add "STATISTIC" to count the number of DBG_VALUE instructions inserted/deleted. I am not sure what benchmarks to exactly test.
>
>
> The kind of numbers that I (and Adrian I'm pretty sure) wanted to see are more compiler performance numbers. You add a new pass that will have a cost, and we care a lot about -O0 -g compile times. So what is the cost of your new code in terms of compile time?
I tried a few test cases where the MachineFunction remained unchanged and other test cases where instructions were inserted/deleted by this pass. I used clang -O0 -g followed by llc -O0 -time-passes and noticed that the new pass takes around 0.5% - 0.7% of Wall time.
http://reviews.llvm.org/D11933
More information about the llvm-commits
mailing list