[all-commits] [llvm/llvm-project] 7460c7: [MemCpyOpt] handle memcpy from memset in more case...

Jameson Nash via All-commits all-commits at lists.llvm.org
Wed Jun 11 01:42:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7460c700ae3026d927952f911d0e667de6e0c18b
      https://github.com/llvm/llvm-project/commit/7460c700ae3026d927952f911d0e667de6e0c18b
  Author: Jameson Nash <vtjnash at gmail.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/test/Transforms/MemCpyOpt/memset-memcpy-oversized.ll
    M llvm/test/Transforms/MemCpyOpt/memset-memcpy-to-2x-memset.ll
    M llvm/test/Transforms/MemCpyOpt/mixed-sizes.ll
    M llvm/test/Transforms/MemCpyOpt/variable-sized-memset-memcpy.ll

  Log Message:
  -----------
  [MemCpyOpt] handle memcpy from memset in more cases (#140954)

This aims to reduce the divergence between the initial checks in this
function and processMemCpyMemCpyDependence (in particular, adding
handling of offsets), with the goal to eventually reduce duplication
there and improve this pass in other ways.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list