[all-commits] [llvm/llvm-project] 1ccfb5: [MemCpyOptimizer] Preserve analyses and replace us...

Alina Sbirlea via All-commits all-commits at lists.llvm.org
Tue Sep 1 17:36:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ccfb52a6174816e450074f65e5f0929a9f046a5
      https://github.com/llvm/llvm-project/commit/1ccfb52a6174816e450074f65e5f0929a9f046a5
  Author: Alina Sbirlea <asbirlea at google.com>
  Date:   2020-09-01 (Tue, 01 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/test/Analysis/BasicAA/phi-values-usage.ll
    M llvm/test/CodeGen/AMDGPU/opt-pipeline.ll
    M llvm/test/Other/opt-O2-pipeline.ll
    M llvm/test/Other/opt-O3-pipeline-enable-matrix.ll
    M llvm/test/Other/opt-O3-pipeline.ll
    M llvm/test/Other/opt-Os-pipeline.ll

  Log Message:
  -----------
  [MemCpyOptimizer] Preserve analyses and replace use of lambdas to get them.

Summary:
Analyses are preserved in MemCpyOptimizer.
Get analyses before running the pass and store the pointers, instead of
using lambdas and getting them every time on demand.

Reviewers: lenary, deadalnix, mehdi_amini, nikic, efriedma

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list