[PATCH] D14554: [LTO] Add option to emit assembly and bitcode from LTO CodeGen

Tobias Edler von Koch via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 16:03:52 PST 2015


tobiasvk added a comment.

In http://reviews.llvm.org/D14554#286654, @joker.eph wrote:

> The bitcode->assembly part is available with llc though, not sure why it's not enough?


Yes... but I'd rather not have our linker depend on llc or, alternatively, set up its own CodeGen pass manager just to emit assembly. Also, if we're using module splitting, there'd be an additional step: bitcode -> llvm-split -> llc. The option in LTOCodeGenerator seems a lot cleaner to me.


http://reviews.llvm.org/D14554





More information about the llvm-commits mailing list