[llvm] [MemCpyOpt] Calculate the offset value to forward `memcpy` (PR #87190)

Quentin Dian via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 18:03:52 PDT 2024


DianQK wrote:

> Can you add some tests to demonstrate that the staging allocas will be eliminated after memcpy forwarding?

Done. I've also updated some tests related to alignment.

https://github.com/llvm/llvm-project/pull/87190


More information about the llvm-commits mailing list