[all-commits] [llvm/llvm-project] 25482b: [PowerPC] add TargetParser for PPC target (#97541)

Chen Zheng via All-commits all-commits at lists.llvm.org
Wed Jul 24 22:47:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25482b356e51de1f259b3ac7c785ab34977781b4
      https://github.com/llvm/llvm-project/commit/25482b356e51de1f259b3ac7c785ab34977781b4
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2024-07-25 (Thu, 25 Jul 2024)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/Driver/ToolChains/Arch/PPC.cpp
    M clang/lib/Driver/ToolChains/Arch/PPC.h
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/CodeGen/aix-builtin-cpu-is.c
    M clang/test/CodeGen/builtin-cpu-supports.c
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/include/llvm/TargetParser/PPCTargetParser.def
    A llvm/include/llvm/TargetParser/PPCTargetParser.h
    M llvm/lib/TargetParser/CMakeLists.txt
    A llvm/lib/TargetParser/PPCTargetParser.cpp
    M llvm/utils/gn/secondary/llvm/lib/TargetParser/BUILD.gn

  Log Message:
  -----------
  [PowerPC] add TargetParser for PPC target (#97541)

For now only focus on the CPU type, will work on the CPU features part
later.

With the CPU handling in TargetParser, clang and llc/opt are able to
query common interfaces.

So we can set same default CPU and CPU features with same interfaces.



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