[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 06:59:38 PDT 2021


yurai007 added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:1380
     MSSAU->getMemorySSA()->verifyMemorySSA();
   ++NumMemCpy;
   ExpCleaner.markResultUsed();
----------------
Don't touch this counter when memmove is emitted. 


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