Antonio Frighetto 034e5d6f86
[MemCpyOpt] Extend performMemCpyToMemSetOptzn to partially memset'd region
While doing memset-to-memcpy forwarding, take into account memset
that covers memory regions from a given offset, and the leading
bytes of such a region are undef.

Fixes: https://github.com/llvm/llvm-project/issues/172326.
2026-01-30 10:09:08 +01:00
..