[all-commits] [llvm/llvm-project] f7d0a0: [clang] Add GCC-compatible code model names for sp...

Koakuma via All-commits all-commits at lists.llvm.org
Mon Feb 5 11:47:22 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f7d0a0e7aec97eb7f0719f0f3cfcf94ad823fedd
      https://github.com/llvm/llvm-project/commit/f7d0a0e7aec97eb7f0719f0f3cfcf94ad823fedd
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/sparc64-codemodel.c

  Log Message:
  -----------
  [clang] Add GCC-compatible code model names for sparc64

This adds GCC-compatible names for code model selection on 64-bit SPARC
with absolute code.
Testing with a 2-stage build then running codegen tests works okay under
all of the supported code models.

(32-bit target does not have selectable code models)

Reviewed By: @brad0, @MaskRay

(cherry picked from commit b0f0babff22e9c0af74535b05e2c6424392bb24a)




More information about the All-commits mailing list