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

Amy Kwan via All-commits all-commits at lists.llvm.org
Wed Aug 14 07:14:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e990b0b7f4cf60e6b700ba4f7c76005c0d53086
      https://github.com/llvm/llvm-project/commit/5e990b0b7f4cf60e6b700ba4f7c76005c0d53086
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2024-08-14 (Wed, 14 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 (#101224)

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.



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