[all-commits] [llvm/llvm-project] e30d30: [MemCpyOpt] Introduce test for PR101930 (NFC)

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Tue Dec 3 00:54:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e30d304d72ac9a70671268c50ee850c2f0c42ba3
      https://github.com/llvm/llvm-project/commit/e30d304d72ac9a70671268c50ee850c2f0c42ba3
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    A llvm/test/Transforms/MemCpyOpt/memset-memmove-redundant-memmove.ll

  Log Message:
  -----------
  [MemCpyOpt] Introduce test for PR101930 (NFC)


  Commit: 1d6ab189be031bf723abf35f772fbd5d4c86c612
      https://github.com/llvm/llvm-project/commit/1d6ab189be031bf723abf35f772fbd5d4c86c612
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

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

  Log Message:
  -----------
  [MemCpyOpt] Drop dead `memmove` calls on `memset`'d source data

When a memmove happens to clobber source data, and such data have
been previously memset'd, the memmove may be redundant.


Compare: https://github.com/llvm/llvm-project/compare/46446bb2d31a...1d6ab189be03

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