[all-commits] [llvm/llvm-project] 1bab57: Move the PowerPC/PPCMergeStringPool work to initia...

Shimin Cui via All-commits all-commits at lists.llvm.org
Wed Jan 31 07:27:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bab570e9b82a68089348a3bca388d297a72f60f
      https://github.com/llvm/llvm-project/commit/1bab570e9b82a68089348a3bca388d297a72f60f
  Author: Shimin Cui <scui at ca.ibm.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
    M llvm/test/CodeGen/PowerPC/mergeable-string-pool-large.ll
    M llvm/test/CodeGen/PowerPC/mergeable-string-pool.ll

  Log Message:
  -----------
  Move the PowerPC/PPCMergeStringPool work to initializer (#77352)

Currently, the `PPCMergeStringPool` merges the global variable after the
`AsmPrinter` initializer adds the global variables to its symbol list.
This is to move the merging work of `PPCMergeStringPool` to its
initializer, just like what GlobalMerge does, to avoid adding merged
global variables to the `AsmPrinter` symbol lis.  




More information about the All-commits mailing list