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

Amy Kwan via All-commits all-commits at lists.llvm.org
Fri Aug 2 09:23:47 PDT 2024


  Branch: refs/heads/users/amy-kwan/ppc-global-merge-private-internal
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e4a4da18b5b262242cb7322820717af16e44ddb
      https://github.com/llvm/llvm-project/commit/4e4a4da18b5b262242cb7322820717af16e44ddb
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-08-02 (Fri, 02 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: 10d3137751423eeebcc4d061fd2df385b417f1ba
      https://github.com/llvm/llvm-project/commit/10d3137751423eeebcc4d061fd2df385b417f1ba
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-08-02 (Fri, 02 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/d14bd7c6adb8...10d313775142

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