[llvm] [PreISelIntrinsicLowering] Lower bounded memcpy/memmove to masked load/store (PR #212710)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 07:41:04 PDT 2026


================

----------------
RKSimon wrote:

```
APInt MaxLen = CR.getUnsignedMax();
if (MaxLen == 0 || MaxLen.ugt(64))
  return false;
```
Also, why the 64 magic number?

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


More information about the llvm-commits mailing list