[all-commits] [llvm/llvm-project] a98f76: [PowerPC][GlobalMerge] Reduce TOC usage by merging...

Amy Kwan via All-commits all-commits at lists.llvm.org
Tue Aug 13 21:21:28 PDT 2024


  Branch: refs/heads/users/amy-kwan/ppc-global-merge-private-internal
  Home:   https://github.com/llvm/llvm-project
  Commit: a98f7699356b768a9f46649ee2eaec51570b43f1
      https://github.com/llvm/llvm-project/commit/a98f7699356b768a9f46649ee2eaec51570b43f1
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalMerge.h
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/lib/CodeGen/GlobalMerge.cpp
    M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
    M llvm/test/CodeGen/PowerPC/merge-private.ll

  Log Message:
  -----------
  [PowerPC][GlobalMerge] Reduce TOC usage by merging internal and private global data

This patch aims to reduce TOC usage by merging internal and private global data.

Moreover, we also add the GlobalMerge pass within the PPCTargetMachine pipeline,
which is disabled by default. This transformation can be enabled by -ppc-global-merge.


  Commit: 2b3b0063a37ff54d671d81f3e8fc47faf1f2c12a
      https://github.com/llvm/llvm-project/commit/2b3b0063a37ff54d671d81f3e8fc47faf1f2c12a
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalMerge.h
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/lib/CodeGen/GlobalMerge.cpp
    M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp

  Log Message:
  -----------
  Remove unused MergePrivateGlobals


  Commit: 40e0221120f1884d7c6d429fadb3671b18b8ac93
      https://github.com/llvm/llvm-project/commit/40e0221120f1884d7c6d429fadb3671b18b8ac93
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCTargetMachine.cpp

  Log Message:
  -----------
  Address clang-format comment


Compare: https://github.com/llvm/llvm-project/compare/10af3fb48ed9...40e0221120f1

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