[PATCH] D108221: [LoopIdiom] Keep TBAA when creating memcpy/memmove

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 11:27:44 PST 2022


jeroen.dobbelaere added a comment.

Sorry about not mentioning it with the previous part.



================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:1181
+
+    NewCall = Builder.CreateMemSet(
+        BasePtr, SplatValue, NumBytes, MaybeAlign(StoreAlignment),
----------------
We will also need a `memset` test.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108221/new/

https://reviews.llvm.org/D108221



More information about the llvm-commits mailing list