[PATCH] D104464: [LoopIdiom] Transform memmove-like loop into memmove (PR46179)

Dawid Jurczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 29 07:53:37 PDT 2021


yurai007 added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:1380
     MSSAU->getMemorySSA()->verifyMemorySSA();
-  ++NumMemCpy;
+  if (!UseMemMove)
+    ++NumMemCpy;
----------------
xbolva00 wrote:
> … and increment it here
Ok, I will add this counter. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104464



More information about the llvm-commits mailing list