[lld] r193300 - [PassManager] add ReaderWriter{Native, YAML} to the Driver.

Rui Ueyama ruiu at google.com
Thu Oct 24 13:54:32 PDT 2013


On Thu, Oct 24, 2013 at 1:48 PM, Reid Kleckner <rnk at google.com> wrote:

> On Thu, Oct 24, 2013 at 1:41 PM, Shankar Easwaran <shankare at codeaurora.org
> > wrote:
>
>> On 10/24/2013 3:39 PM, Reid Kleckner wrote:
>>
>>> Can you let each flavor opt in to the behavior, rather than breaking
>>> them?
>>>
>> No, we cannot do this, as we need the Atom IR to be stable and no hidden
>> assumptions are carried over to the writer.
>
>
> If you can't do this, then I think the responsibility for fixing all the
> other targets is on you.  Sorry.
>

Actually we can do that. I don't know why Shankar thinks we can't, but we
can definitely propagate some information to the location where the passes
are added, and enable them only for specific ports. After fixing all the
ports we can remove the code to propagate the information.

Fortunately, like all other LLVM project, lld has a great test
> infrastructure!  You can run the COFF and MachO tests while compiling on
> Linux, unlike some other projects I've heard of.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/16d2a337/attachment.html>


More information about the llvm-commits mailing list