There doesn't seem to be an equivalent test for LLD-ELF, so
I've verified our behavior by cribbing a test from
CodeGen/X86/recip-fastmath.ll.
Details
Details
- Reviewers
- None
- Group Reviewers
Restricted Project
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Does this make sense to have as part of a single commit with D92912 to have a change to populate the LTO configuration options?
Comment Actions
I think we should only support -mllvm (so all LLVM middle-end/codegen options can be used, including -mllvm -mcpu=xxx, not -mcpu= (I don't think anyone uses ld.lld -mcpu=)
Comment Actions
Does this make sense to have as part of a single commit with D92912 to have a change to populate the LTO configuration options?
Sure, I can merge them. FWIW, there are a dozen or so other config options that I have yet to add, but I'm doing it incrementally as I figure out how to test each one.
I don't think anyone uses ld.lld -mcpu=
I did this because -mcpu is supported by ld64.