[PATCH] Adding a timing option for IR parsing

Nadav Rotem nrotem at apple.com
Tue Mar 19 17:59:35 PDT 2013


Hi Eli, 

 The timer code LGTM.   Why do we need an additional command line flag ? 

Nadav

On Mar 19, 2013, at 3:36 PM, Eli Bendersky <eliben at google.com> wrote:

> Hello,
> 
> Following the discussion here -
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-March/060095.html
> 
> This patch adds an option -time-ir-parsing that measures the time it
> took to parse IR (either from bitcode or from text assembly). This
> should bring the total amount of time measured for compilation time by
> LLVM itself closer to wallclock time.
> 
> Eli
> 
> P.S. The patch IMHO isn't very pretty because ParseIR is implemented
> in a header file for some reason. I don't see the advantage of its
> being there, but the disadvantages are many (for example one needs to
> rebuild > 500 files for every source change).
> <time-ir-parsing.1.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130319/42e281cb/attachment.html>


More information about the llvm-commits mailing list