[LLVMdev] RFC: Are we ready to completely move away from the optionality of a DataLayout?

Chandler Carruth chandlerc at google.com
Mon Oct 20 13:27:18 PDT 2014


On Mon, Oct 20, 2014 at 1:18 PM, Eric Christopher <echristo at google.com>
wrote:

> Agreed. The DataLayout should move (back) to the TargetMachine and live
> there (I'm doing that part right now). I don't particularly want to put it
> on the module because of (admittedly pie in the sky) plans of being able to
> compile a module with two target machines at the same time.


Wait, what? The DataLayout can't live in the target machine without
upending the layering completely. Every part of the IR optimizer uses it...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141020/58128e82/attachment.html>


More information about the llvm-dev mailing list