[LLVMdev] RFC: Separate machine IR from lib/CodeGen into lib/MIR

Chandler Carruth chandlerc at google.com
Wed May 27 10:38:20 PDT 2015


On Wed, May 27, 2015 at 10:32 AM Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:

>
> > On 2015 May 27, at 10:13, Reid Kleckner <rnk at google.com> wrote:
> >
> > On Tue, May 26, 2015 at 1:46 PM, Owen Anderson <resistor at mac.com> wrote:
> > I have no objections, though I think lib/MachineIR would make a prettier
> bikeshed ;-)
> >
> > +1 for this. I think you probably want to limit the scope of your change
> to just splitting out MachineIR and not trying to rename CodeGen,
> AsmPrinter, etc. :)
>
> Agreed :).  The rest seems out-of-scope for Alex's internship.
>

I think even this is going to be out-of-scope unless the *existing* code
happens to have a clean layering separation. I don't see one currently, but
I might be missing it.

Specifically, I'm *strongly* opposed to splitting this out while there are
circular references between any MI implementation and any CodeGen
implementation. Not all of our linkers or platforms even allow this, but
the errors tend to be brittle and sporadic rather than consistent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150527/d94fa275/attachment.html>


More information about the llvm-dev mailing list