[PATCH] D152934: [LoopIdiom] Preserve alias information for memset_pattern

William Moses via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 09:25:45 PDT 2023


wsmoses created this revision.
wsmoses added reviewers: jdoerfert, jeroen.dobbelaere, efriedma, eopXD, steplong.
Herald added a subscriber: hiraditya.
Herald added a project: All.
wsmoses requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

TBAA/NoAlias/AliasScope and other information is currently preserved
when upgrading to a memcpy/memset. However, this is missing when upgrading to
the macOS memset_pattern function. This adds the same alias information preservation
to memset_pattern


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152934

Files:
  llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  llvm/test/Transforms/LoopIdiom/memset-pattern-tbaa.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152934.531380.patch
Type: text/x-patch
Size: 5987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230614/6718a5b3/attachment.bin>


More information about the llvm-commits mailing list