[cfe-dev] Option -mtune
David Greene via cfe-dev
cfe-dev at lists.llvm.org
Wed Apr 22 08:59:06 PDT 2020
David Blaikie via cfe-dev <cfe-dev at lists.llvm.org> writes:
>> Thanks for your reply, and I can see that this is the only benefit of this
>> no-op: if your move to Clang and if you still have -mtune set in your build
>> environment, you don't get an "unknown option" error. But for me
>> personally, silently ignoring things and giving the impression it works is
>> worse than a simple Makefile fix, but maybe I am wrong, which is why I
>> checked here on the list.
> If it were a matter of correctness rather than performance, I'd agree -
For some of us, performance *is* correctness. :)
IMO this option should emit a warning at least.
More information about the cfe-dev