[llvm-dev] Compiling for more than one target at once

Lorenzo Laneve via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 6 15:06:24 PDT 2016


Can a front-end use the same IR modules to compile a copy of the object codes for more than one target without having to recreate the module?
Can LLVM IR modules be compiled for more than one target simply by switching their datalayout and triples? Does the target-independency really exist or there are little things in the code that may change depending on the target? (I'm not talking about C macros).


More information about the llvm-dev mailing list