[PATCH] D42183: [LLD] [ELF] Pass CPU string to LTO pipeline.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 10:22:11 PST 2018


davide requested changes to this revision.
davide added a comment.
This revision now requires changes to proceed.

You should add a testcase as Rafael pointed out. Overall it looks fine.
We used `mllvm` in lld to pass this kind of options to the backend but this seems justifiable.
BTW, if you're using lld or the gold plugin you might consider implementing the linker counterpart as well (if you have your proprietary linker, just ignore this last bit).


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42183





More information about the llvm-commits mailing list