[all-commits] [llvm/llvm-project] 2fe49e: [clang][PowerPC] Remove remaining Darwin support

David Tenty via All-commits all-commits at lists.llvm.org
Tue Mar 28 14:14:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fe49ea0d07d503aedd0872bf0a66724552d4dcf
      https://github.com/llvm/llvm-project/commit/2fe49ea0d07d503aedd0872bf0a66724552d4dcf
  Author: David Tenty <daltenty at ibm.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M clang/lib/Basic/Targets.cpp
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/Basic/Targets/PPC.h
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Sema/SemaAttr.cpp
    M clang/test/Driver/default-toolchain.c
    M clang/test/Parser/altivec.c
    M clang/test/Parser/cxx-altivec.cpp
    M clang/test/Preprocessor/init-ppc.c
    M clang/test/Sema/altivec-init.c
    M clang/test/SemaCXX/cxx-altivec.cpp

  Log Message:
  -----------
  [clang][PowerPC] Remove remaining Darwin support

POWER Darwin support in the backend has been removed for some time: https://discourse.llvm.org/t/rfc-remove-darwin-support-from-power-backends
but Clang still has the TargetInfo and other remnants lying around.

This patch does some cleanup and removes those and other related frontend support still remaining. We adjust any tests using the triple to either remove
the test if unneeded or switch to another Power triple.

Reviewed By: MaskRay, nemanjai

Differential Revision: https://reviews.llvm.org/D146459




More information about the All-commits mailing list