[all-commits] [llvm/llvm-project] 39e305: [Driver][Sparc] Default to -mcpu=v9 for 32-bit Lin...
Rainer Orth via All-commits
all-commits at lists.llvm.org
Sat Sep 21 10:53:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 39e30508a7f6ec5477b11611946a491af5ebdeda
https://github.com/llvm/llvm-project/commit/39e30508a7f6ec5477b11611946a491af5ebdeda
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-09-21 (Sat, 21 Sep 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Driver/ToolChains/Arch/Sparc.cpp
M clang/test/Preprocessor/predefined-arch-macros.c
Log Message:
-----------
[Driver][Sparc] Default to -mcpu=v9 for 32-bit Linux/sparc64 (#109278)
While working on supporting PR #109101 on Linux/sparc64, I was reminded
that `clang -m32` still defaults to generating V8 code, although the
64-bit kernel requires a V9 CPU.
This patch corrects that.
Tested on `sparc64-unknown-linux-gnu`, `x86_64-pc-linux-gnu`,
`sparcv9-sun-solaris2.11`, and `amd64-pc-solaris2.11`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list