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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D74494
[MemCpyOptimizer] Preserve analyses and replace use of lambdas to get them. ClosedPublic Authored by asbirlea on Feb 12 2020, 9:10 AM.
Details Summary Analyses are preserved in MemCpyOptimizer.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 1 2020, 3:56 PM This revision was landed with ongoing or failed builds.Sep 1 2020, 5:36 PM Closed by commit rG1ccfb52a6174: [MemCpyOptimizer] Preserve analyses and replace use of lambdas to get them. (authored by asbirlea). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 289334 llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
llvm/test/Analysis/BasicAA/phi-values-usage.ll
llvm/test/CodeGen/AMDGPU/opt-pipeline.ll
llvm/test/Other/opt-O2-pipeline.ll
llvm/test/Other/opt-O3-pipeline-enable-matrix.ll
llvm/test/Other/opt-O3-pipeline.ll
llvm/test/Other/opt-Os-pipeline.ll
|
These changes make sense.