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

Rainer Orth via All-commits all-commits at lists.llvm.org
Wed Jul 23 08:03:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06233892e84f96a3b4e05338cd4f6c12b8f5a185
      https://github.com/llvm/llvm-project/commit/06233892e84f96a3b4e05338cd4f6c12b8f5a185
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2025-07-23 (Wed, 23 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`.



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