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

Quentin Colombet qcolombet at apple.com
Tue May 26 23:20:31 PDT 2015


+1.

Could those two be subdirectories of one “Machine-Related-Stuff” directory?
E.g.,
MachineStuff/IR
MachineStuff/CodeGen

Where MachineStuff is something meaningful :).

That way, they keep a logic bound, more formal than the naming convention.

My 2c.

Q.
> On May 26, 2015, at 9:28 PM, Chris Lattner <clattner at apple.com> wrote:
> 
> On May 26, 2015, at 1:46 PM, Owen Anderson <resistor at mac.com <mailto:resistor at mac.com>> wrote:
>>>> The MIR serialization code will go under the new MIR library and not under
>>>> CodeGen which will break the dependency. The CodeGen library will link MIR
>>>> automatically so the build files for tools that link with CodeGen won't have to
>>>> be changed.
>>>> 
>>>> Thanks for reading,
>>>> Alex
>>>> 
>>> 
>>> FWIW, I'm in favour of this.  I'd be interested to hear if there's
>>> a reason *not* to do this.
>>> 
>>> Here's some more context:
>>> 
>>>  http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150518/278031.html <http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150518/278031.html>
>> I have no objections, though I think lib/MachineIR would make a prettier bikeshed ;-)
> 
> +1.  Codegen should also be renamed to something else that starts with “Machine” as well.
> 
> -Chris
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150526/3c922c05/attachment.html>


More information about the llvm-dev mailing list