[PATCH] Adding a timing option for IR parsing
Eli Bendersky
eliben at google.com
Wed Mar 20 10:54:54 PDT 2013
On Wed, Mar 20, 2013 at 10:53 AM, David Blaikie <dblaikie at gmail.com> wrote:
> On Wed, Mar 20, 2013 at 8:39 AM, Eli Bendersky <eliben at google.com> wrote:
> > On Tue, Mar 19, 2013 at 5:59 PM, Nadav Rotem <nrotem at apple.com> wrote:
> >> Hi Eli,
> >>
> >> The timer code LGTM. Why do we need an additional command line flag ?
> >>
> >> Nadav
> >>
> >
> > time-passes is defined in PassManager so we'd have to make IRReader
> > aware of that, which is a layering violation. In addition, many LLVM
> > tools use IRReader but don't link PassManager in.
>
> Could we put it somewhere more common?
>
I'm not sure what you mean. Suggestions welcome.
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130320/102325c8/attachment.html>
More information about the llvm-commits
mailing list