[all-commits] [llvm/llvm-project] 0f2356: [Driver] Default to -mcpu=ultrasparc3 on Solaris/S...

Rainer Orth via All-commits all-commits at lists.llvm.org
Wed Jul 23 00:05:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f235695709d2505651a55ec7f3c8b7fba2b2dbb
      https://github.com/llvm/llvm-project/commit/0f235695709d2505651a55ec7f3c8b7fba2b2dbb
  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 -mcpu=ultrasparc3 on Solaris/SPARC (#149990)

Prompted by PR #149652, this patch changes the Solaris/SPARC default to
-mcpu, matching both the Oracle Studio 12.6 compilers and GCC 16:
[[PATCH] Default to -mcpu=ultrasparc3 on
Solaris/SPARC](https://gcc.gnu.org/pipermail/gcc-patches/2025-July/690191.html).
This is equivalent to enabling the `vis2` 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