[all-commits] [llvm/llvm-project] 2c9829: [MemCpyOpt] Enable memcpy optimizations unconditio...

Artem Belevich via All-commits all-commits at lists.llvm.org
Mon Jul 19 11:58:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c98298a7559dfe4a264ef1adaad0921526768cc
      https://github.com/llvm/llvm-project/commit/2c98298a7559dfe4a264ef1adaad0921526768cc
  Author: Artem Belevich <tra at google.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp

  Log Message:
  -----------
  [MemCpyOpt] Enable memcpy optimizations unconditionally.

The patch does not depend on the availability of the library functions for
memcpy/memset as it operates on LLVM intrinsics.  The optimizations are useful
on the targets that have these functions disabled (e.g. NVPTX & AMDGPU).

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




More information about the All-commits mailing list