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

Amy Kwan via All-commits all-commits at lists.llvm.org
Thu Aug 1 20:09:52 PDT 2024


  Branch: refs/heads/users/amy-kwan/ppc-global-merge-private-internal
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a0a6ba50edda592bf3acc1b5ae0d8d2272fc8f2
      https://github.com/llvm/llvm-project/commit/7a0a6ba50edda592bf3acc1b5ae0d8d2272fc8f2
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-08-01 (Thu, 01 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: d14bd7c6adb86f5fbd75591d480aa50f5feb3c96
      https://github.com/llvm/llvm-project/commit/d14bd7c6adb86f5fbd75591d480aa50f5feb3c96
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-08-01 (Thu, 01 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/61a41df3ee9f...d14bd7c6adb8

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