[all-commits] [llvm/llvm-project] 9f7567: [PreISelIntrinsicLowering] Reuse previously genera...
Alex Bradbury via All-commits
all-commits at lists.llvm.org
Mon Jun 23 08:36:10 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f7567d33a6c68fe5139678768c0cb4d6e614d5f
https://github.com/llvm/llvm-project/commit/9f7567d33a6c68fe5139678768c0cb4d6e614d5f
Author: Alex Bradbury <asb at igalia.com>
Date: 2025-06-23 (Mon, 23 Jun 2025)
Changed paths:
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
M llvm/test/Transforms/PreISelIntrinsicLowering/X86/memset-pattern.ll
Log Message:
-----------
[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.
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