[PATCH] Adding a timing option for IR parsing
Eli Bendersky
eliben at google.com
Wed Mar 20 08:39:35 PDT 2013
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.
Eli
More information about the llvm-commits
mailing list