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

Joerg Sonnenberger joerg at britannica.bec.de
Mon Oct 20 03:13:03 PDT 2014


On Sun, Oct 19, 2014 at 03:52:12PM -0500, Hal Finkel wrote:

I think that, generally speaking, this does not make sense. You could imagine linking together two modules where one data layout was a "subset" of the other (one is missing details of the vector types, for example, in a module that used no vector types), but even that seems tenuous.

I think linking modules with different vector types makes perfect sense. Consider a larger program that includes optimised SSE2 vs AVX routines, switching between them at run time.

Joerg



More information about the llvm-dev mailing list