[PATCH] D152934: [LoopIdiom] Preserve alias information for memset_pattern
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 14 11:46:39 PDT 2023
efriedma added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:1079
+
+ if (SplatValue || isLibFuncEmittable(M, TLI, LibFunc_memset_pattern16)) {
+ AATags = TheStore->getAAMetadata();
----------------
```
if (!SplatValue && !isLibFuncEmittable(M, TLI, LibFunc_memset_pattern16))
return Changed;
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152934/new/
https://reviews.llvm.org/D152934
More information about the llvm-commits
mailing list