[all-commits] [llvm/llvm-project] cbf27b: Revert " [PowerPC] frontend get target feature fro...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Thu Jun 12 12:57:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbf27bf711c08c34185f05ca5edbfa61bd3786e2
      https://github.com/llvm/llvm-project/commit/cbf27bf711c08c34185f05ca5edbfa61bd3786e2
  Author: Reid Kleckner <rnk at google.com>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
    M clang/test/Driver/aix-shared-lib-tls-model-opt.c
    M clang/test/Driver/aix-small-local-exec-dynamic-tls.c
    M clang/test/Driver/ppc-crbits.cpp
    M clang/test/Driver/ppc-isa-features.cpp
    M llvm/include/llvm/TargetParser/PPCTargetParser.h
    M llvm/include/llvm/TargetParser/TargetParser.h
    M llvm/lib/Target/PowerPC/PPC.td
    M llvm/lib/TargetParser/CMakeLists.txt
    M llvm/lib/TargetParser/PPCTargetParser.cpp
    M llvm/lib/TargetParser/TargetParser.cpp
    M llvm/utils/TableGen/SubtargetEmitter.cpp

  Log Message:
  -----------
  Revert " [PowerPC] frontend get target feature from backend with cpu name (#137670)"

This reverts commit 9208b343e962b9f1140ee345c0050a3920bdcbf2.

TargetParser shouldn't re-run the PPC subtarget tablegen target, it
should define its own `-gen-ppc-target-def` rule like all the other
targets do in llvm/include/llvm/TargetParser/CMakeLists.txt .

One user reported that there are incorrect CMake dependencies after this
change, so I will roll this back in the meantime.



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