[llvm-bugs] [Bug 34625] -mtune when targeting AArch64 can incorrectly affect the architecture version code is generated for
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 24 02:58:29 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34625
Peter Smith <peter.smith at linaro.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter.smith at linaro.org
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Peter Smith <peter.smith at linaro.org> ---
An somewhat blunt fix that sets -mcpu-model to generic when -mtune=<cpu> is
used without -mcpu, has been made in https://reviews.llvm.org/D39179
This prevents the code-generation problem, but also loses all the
micro-architectural benefits that -mtune used to provide from the use of
-mcpu-model. Further work will be needed to make -mtune only set
micro-architectural features.
Committed in r316424
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171024/ad605351/attachment.html>
More information about the llvm-bugs
mailing list