[llvm] [MemCpyOpt] Allow memcpy elision for non-noalias arguments (PR #107860)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 18:41:47 PDT 2024


https://github.com/DianQK approved this pull request.

LGTM. Thanks!

Could you update the comment for this function? Maybe just modify it to: 

```
/// 1. The memcpy dst is neither modified during the call nor captured by the
/// call. (e.g. readonly, noalias, nocapture attributes on call-site.)
```

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


More information about the llvm-commits mailing list