[llvm-dev] Options for timing passes in LLVM?
陳韋任 via llvm-dev
llvm-dev at lists.llvm.org
Fri Apr 14 04:53:24 PDT 2017
Refer to `llc` document , it would be `--time-passes`.
2017-04-14 19:39 GMT+08:00 Martin J. O'Riordan via llvm-dev <
llvm-dev at lists.llvm.org>:
> Hi LLVM-Dev,
> Are there any options that can be used to report the time each LLVM pass
> takes to execute? I am examining a program that now takes about 6 times
> longer to compiler since we moved to the v4.0 sources from the v3.9 sources
> (~54s to ~320s), and so far my investigation does not seem to point to our
> additional target specific passes, so I would like to see where the time is
> being spent. If there are existing options already present for this kind
> of thing, that would be very helpful.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Wei-Ren Chen (陳韋任)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev