[PATCH] Adding a timing option for IR parsing

Eli Bendersky eliben at google.com
Tue Mar 19 15:36:49 PDT 2013


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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time-ir-parsing.1.patch
Type: application/octet-stream
Size: 2574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130319/6bce1ba1/attachment.obj>


More information about the llvm-commits mailing list