[all-commits] [llvm/llvm-project] 3eb6fe: [LoopIdiom] Preserve alias information for memset_...

William Moses via All-commits all-commits at lists.llvm.org
Wed Jun 14 13:15:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3eb6fefb9721a2b4513163f4baf53d45e9665d75
      https://github.com/llvm/llvm-project/commit/3eb6fefb9721a2b4513163f4baf53d45e9665d75
  Author: William S. Moses <gh at wsmoses.com>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    A llvm/test/Transforms/LoopIdiom/memset-pattern-tbaa.ll

  Log Message:
  -----------
  [LoopIdiom] Preserve alias information for memset_pattern

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

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D152934




More information about the All-commits mailing list