[PATCH] D155730: [PowerPC] Add a pass to merge all of the constant global arrays into one pool.

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 06:56:34 PDT 2023


stefanp updated this revision to Diff 553460.
stefanp marked 4 inline comments as done.
stefanp added a comment.

Added better variable naming.
Moved the linkage check to the place where the candidates are collected.
Moved the array copy into the function that adds the GEP.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155730/new/

https://reviews.llvm.org/D155730

Files:
  llvm/lib/Target/PowerPC/CMakeLists.txt
  llvm/lib/Target/PowerPC/PPC.h
  llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
  llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
  llvm/test/CodeGen/PowerPC/O3-pipeline.ll
  llvm/test/CodeGen/PowerPC/PR35812-neg-cmpxchg.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll
  llvm/test/CodeGen/PowerPC/licm-remat.ll
  llvm/test/CodeGen/PowerPC/mergeable-string-pool-large.ll
  llvm/test/CodeGen/PowerPC/mergeable-string-pool.ll
  llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155730.553460.patch
Type: text/x-patch
Size: 146435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230825/493dc9e6/attachment.bin>


More information about the llvm-commits mailing list