[all-commits] [llvm/llvm-project] d4955d: [Driver] Default to -mv8plus on 32-bit Solaris/SPA...

Rainer Orth via All-commits all-commits at lists.llvm.org
Tue Jul 29 00:54:09 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d4955d9b9512bdd5bc5c37a4ab587ddbdaff0be3
      https://github.com/llvm/llvm-project/commit/d4955d9b9512bdd5bc5c37a4ab587ddbdaff0be3
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/Sparc.cpp
    M clang/test/Driver/sparc-target-features.c

  Log Message:
  -----------
  [Driver] Default to -mv8plus on 32-bit Solaris/SPARC (#150176)

While investigating PR #149990, I noticed that while both the Oracle
Studio compilers and GCC default to `-mv8plus` on 32-bit Solaris/SPARC,
Clang does not.

This patch fixes this by enabling the `v8plus` feature.

Tested on `sparcv9-sun-solaris2.11` and `sparc64-unknown-linux-gnu`.

(cherry picked from commit 06233892e84f96a3b4e05338cd4f6c12b8f5a185)



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