[all-commits] [llvm/llvm-project] d896b1: [PowerPC] Do not string pool globals that are part...
Stefan Pintilie via All-commits
all-commits at lists.llvm.org
Fri Nov 24 09:21:45 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d896b1f5a614daef1c3aa65cb3521ec82bc728d5
https://github.com/llvm/llvm-project/commit/d896b1f5a614daef1c3aa65cb3521ec82bc728d5
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2023-11-24 (Fri, 24 Nov 2023)
Changed paths:
M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
A llvm/test/CodeGen/PowerPC/aix-xcoff-used-with-stringpool.ll
Log Message:
-----------
[PowerPC] Do not string pool globals that are part of llvm used. (#66848)
The string pooling pass was incorrectly pooling global varables that
were part of llvm.used or llvm.compiler.used. This patch fixes the pass
to prevent that by checking each candidate to make sure that it is not
in either of those lists.
More information about the All-commits
mailing list