diff options
author | Alex Bradbury <asb@igalia.com> | 2025-06-23 16:35:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-23 16:35:48 +0100 |
commit | 9f7567d33a6c68fe5139678768c0cb4d6e614d5f (patch) | |
tree | fb79c6d3959f1777b93d4da68dc3001803ef9cac /llvm/lib/Object/ELF.cpp | |
parent | ff8049a23e466f7a5e3f3b8f949f543ea25ddb92 (diff) | |
download | llvm-9f7567d33a6c68fe5139678768c0cb4d6e614d5f.zip llvm-9f7567d33a6c68fe5139678768c0cb4d6e614d5f.tar.gz llvm-9f7567d33a6c68fe5139678768c0cb4d6e614d5f.tar.bz2 |
[PreISelIntrinsicLowering] Reuse previously generated GlobalVariable for memset_pattern16 when possible (#144677)
As Constants are already uniquified, we can use a map to keep track of
whether a GlobalVariable was produced for a given Constant or not.
Repeated globals with the same value was one of the codegen differences
noted in #126736. This patch removes that diff, producing cleaner
output.
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions