Files
clang-p2996/llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
Alex Bradbury 9f7567d33a [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.
2025-06-23 16:35:48 +01:00

24 KiB