[PATCH] D130688: [Driver][Sparc] Default to -mcpu=v9 for SparcV8 on Linux

Rainer Orth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 18 03:25:47 PDT 2022


ro added a comment.

In D130688#3731653 <https://reviews.llvm.org/D130688#3731653>, @glaubitz wrote:

> In D130688#3731619 <https://reviews.llvm.org/D130688#3731619>, @ro wrote:
>
>> In D130688#3731611 <https://reviews.llvm.org/D130688#3731611>, @glaubitz wrote:
>>
>>> 
>>
>>
>>
>>> Yeah, someone from the LEON community should comment whether they would be OK to default to V9 on all Linux targets. I don't really want to omit Gentoo here which still support Linux on SPARC.
>>
>> How could they?  LEON is V8 (with extensions) only!
>
> Well, they could patch LLVM locally. I assume they don't use the pristine upstream sources anyway in such custom setups.

Why should they need to?  AFAICS all the LEON CPU support is upstream already, so why break upstream for them without need?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130688/new/

https://reviews.llvm.org/D130688



More information about the cfe-commits mailing list