[all-commits] [llvm/llvm-project] 09d1b9: [MemCpyOpt] Fix incorrect size check in memmove of...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 29 05:37:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09d1b945b52e9cdb318842a051bab8fbc3d83d9f
      https://github.com/llvm/llvm-project/commit/09d1b945b52e9cdb318842a051bab8fbc3d83d9f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/test/Transforms/MemCpyOpt/memset-memmove-redundant-memmove.ll

  Log Message:
  -----------
  [MemCpyOpt] Fix incorrect size check in memmove of memset opt (#206451)

We were only checking that the memset is at least as large as the
memmove size, but not accounting for the fact that the memmove occurs at
an offset.



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