[LLVMdev] opt and llc use datalayout differently - bug?
baldrick at free.fr
Tue Oct 4 00:18:16 PDT 2011
> It appears llc gives preference to the default target datalayout whereas
> opt gives preference to the module datalayout.
llc completely ignores the target datalayout because it already knows how
the target lays out data. Target datalayout exists entirely for the
benefit of opt: it allows opt to use target specific information without
having to be linked with the code generators.
More information about the llvm-dev