[PATCH] D107075: [LoopIdiom] Transform loop containing memcpy into memmove

Dawid Jurczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 29 07:19:33 PDT 2021


yurai007 created this revision.
yurai007 added reviewers: craig.topper, lebedev.ri, nikic, xbolva00, reames, asbirlea, efriedma.
Herald added a subscriber: hiraditya.
yurai007 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The purpose of patch is to learn Loop idiom recognition pass how to recognize simple memmove patterns
in similar way like GCC does: https://godbolt.org/z/dKjGvTGff
It's follow-up of following change: https://reviews.llvm.org/D104464


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107075

Files:
  llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  llvm/test/Transforms/LoopIdiom/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107075.362767.patch
Type: text/x-patch
Size: 18032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210729/de24d452/attachment.bin>


More information about the llvm-commits mailing list