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

Amy Kwan via All-commits all-commits at lists.llvm.org
Tue Aug 13 09:00:38 PDT 2024


  Branch: refs/heads/users/amy-kwan/ppc-global-merge-private-internal
  Home:   https://github.com/llvm/llvm-project
  Commit: b59ccb1adac279fcc1e53a5f73cdd099af1f8813
      https://github.com/llvm/llvm-project/commit/b59ccb1adac279fcc1e53a5f73cdd099af1f8813
  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: 10af3fb48ed96496ecedfee2a07c1ce28683933a
      https://github.com/llvm/llvm-project/commit/10af3fb48ed96496ecedfee2a07c1ce28683933a
  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


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

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