Jameson Nash d275182924
[MemCpyOpt] allow memcpy-to-memcpy optimization with smaller dest than src (#176010)
Resize the alloca if needed to a common size, as long as the dest was
still fully initialized by the copy.

Extracted from PR optimization improvement series at
https://github.com/llvm/llvm-project/pull/150792 (included all tests
additions from there as well)
2026-01-14 15:16:11 -05:00
..