[PATCH] D120381: [SPARC] Add isSPARC* in Triple for SPARC

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 24 01:31:33 PST 2022


ro added a comment.

In D120381#3342217 <https://reviews.llvm.org/D120381#3342217>, @brad wrote:

> 



> I don't think this makes sense. No one runs SPARCv9 with little endian.

Not only that: this isn't a full fledged little-endian mode like `mipsel`.  See "Oracle SPARC Architecture 2015", p.20:

  3.3.1.2 Addressing Conventions
  [...]
  The Oracle SPARC Architecture also supports little-endian byte order for data accesses only: the
  address of a quadword, doubleword, word, or halfword is the address of its least significant byte.
  Increasing the address means increasing the significance of the data unit being accessed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120381



More information about the llvm-commits mailing list