[cfe-dev] Option -mtune

David Greene via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 22 14:50:28 PDT 2020


David Greene via cfe-dev <cfe-dev at lists.llvm.org> writes:

> * -mtune implies -triple (based on host machine as with -mcpu)
>
> * -march implies -triple (based on host machine as with -mcpu)
>
> Of course one could always pass -triple (or other options) explicitly to
> suppress the implied behaviors.  We still want -mtune and -march to
> operate independently of each other (i.e. neither implies the other) so
> that one can generate backward-compatible binaries while still tuning
> for recent microarchitectures.

s/-triple/-target/g

                 -David


More information about the cfe-dev mailing list