[PATCH] Adding a timing option for IR parsing
David Blaikie
dblaikie at gmail.com
Wed Mar 20 10:53:42 PDT 2013
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?
More information about the llvm-commits
mailing list