[llvm] [SystemZ] Improve handling of memmoves. (PR #196285)

Ömer Sinan Ağacan via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 06:26:33 PDT 2026


osa1 wrote:

In that case I wonder if we could have an enum with these cases:

- memset
- memset with zero
- memcpy
- memcpy from constant
- memmove

Currently we have 4 `bool` fields about what the operation is representing (5 with this PR), and while the constructors make sure they're set properly, use sites still needs to check them the right way (e.g. see my inline comment above).

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


More information about the llvm-commits mailing list