<p dir="ltr"><br>
On Dec 15, 2014 5:23 PM, "David Blaikie" <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
> On Mon, Dec 15, 2014 at 1:09 PM, Diego Novillo <<a href="mailto:dnovillo@google.com">dnovillo@google.com</a>> wrote:<br>
>><br>
>> On 12/15/14 15:10, Joerg Sonnenberger wrote:<br>
>>><br>
>>> On Mon, Dec 15, 2014 at 11:26:43AM -0800, Bob Wilson wrote:<br>
>>>><br>
>>>> Does anyone have interest in this or objections to it?<br>
>>><br>
>>><br>
>>> Yes, please. Especially if it captures the bitcode *before* any of the<br>
>>> optimisations hit.<br>
>><br>
>><br>
>> Agreed. On several occasions, I've found myself wondering how I can generate bitcode exactly as it leaves the parser, before any early cleanups and such.<br>
><br>
><br>
> -mllvm -disable-llvm-optzns<br>
><br>
> will produce the IR straight out of Clang's CodeGen. Skipping things like the AlwaysInliner and AddDiscriminator pass, etc.<br>
>  </p>
<p dir="ltr">Yes. Of course, i know that. The point is that easier is better.</p>
<p dir="ltr">Diego.</p>