[all-commits] [llvm/llvm-project] 15383d: [EarlyCSE] Support memset loads (#194268)
nataliakokoromyti via All-commits
all-commits at lists.llvm.org
Mon May 4 03:21:20 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15383dcdb4012387d94fab67fed4519613bf9a19
https://github.com/llvm/llvm-project/commit/15383dcdb4012387d94fab67fed4519613bf9a19
Author: nataliakokoromyti <nataliakokoromyti at gmail.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
A llvm/test/Transforms/EarlyCSE/memset-load.ll
Log Message:
-----------
[EarlyCSE] Support memset loads (#194268)
This PR addresses the zero-`memset` case in EarlyCSE as discussed in
#194080. If we do a `memset` of zero and then load back from the same
base pointer, we can fold that load to `null`.
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