[all-commits] [llvm/llvm-project] cd6f40: [MemCpyOpt] Add test scaffolding for MSSA based Me...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Oct 13 12:45:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cd6f40f4326c8251ebb628122bf092ca5536a634
https://github.com/llvm/llvm-project/commit/cd6f40f4326c8251ebb628122bf092ca5536a634
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-10-13 (Tue, 13 Oct 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
M llvm/test/Transforms/MemCpyOpt/2008-02-24-MultipleUseofSRet.ll
M llvm/test/Transforms/MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll
M llvm/test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll
M llvm/test/Transforms/MemCpyOpt/aggregate-type-crash.ll
M llvm/test/Transforms/MemCpyOpt/align.ll
M llvm/test/Transforms/MemCpyOpt/atomic.ll
M llvm/test/Transforms/MemCpyOpt/callslot.ll
M llvm/test/Transforms/MemCpyOpt/callslot_aa.ll
M llvm/test/Transforms/MemCpyOpt/callslot_deref.ll
M llvm/test/Transforms/MemCpyOpt/callslot_throw.ll
M llvm/test/Transforms/MemCpyOpt/capturing-func.ll
M llvm/test/Transforms/MemCpyOpt/crash.ll
M llvm/test/Transforms/MemCpyOpt/fca2memcpy.ll
M llvm/test/Transforms/MemCpyOpt/form-memset.ll
M llvm/test/Transforms/MemCpyOpt/invariant.start.ll
M llvm/test/Transforms/MemCpyOpt/lifetime.ll
M llvm/test/Transforms/MemCpyOpt/load-store-to-memcpy.ll
M llvm/test/Transforms/MemCpyOpt/loadstore-sret.ll
M llvm/test/Transforms/MemCpyOpt/memcpy-invoke-memcpy.ll
M llvm/test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll
M llvm/test/Transforms/MemCpyOpt/memcpy-to-memset.ll
M llvm/test/Transforms/MemCpyOpt/memcpy-undef.ll
M llvm/test/Transforms/MemCpyOpt/memcpy.ll
M llvm/test/Transforms/MemCpyOpt/memmove.ll
M llvm/test/Transforms/MemCpyOpt/memset-memcpy-oversized.ll
M llvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll
M llvm/test/Transforms/MemCpyOpt/memset-memcpy-to-2x-memset.ll
M llvm/test/Transforms/MemCpyOpt/merge-into-memset.ll
M llvm/test/Transforms/MemCpyOpt/mixed-sizes.ll
M llvm/test/Transforms/MemCpyOpt/non-integral.ll
M llvm/test/Transforms/MemCpyOpt/nonlocal-memcpy-memcpy.ll
M llvm/test/Transforms/MemCpyOpt/nontemporal.ll
M llvm/test/Transforms/MemCpyOpt/pr29105.ll
M llvm/test/Transforms/MemCpyOpt/pr37967.ll
M llvm/test/Transforms/MemCpyOpt/process_store.ll
M llvm/test/Transforms/MemCpyOpt/profitable-memset.ll
M llvm/test/Transforms/MemCpyOpt/smaller.ll
M llvm/test/Transforms/MemCpyOpt/sret.ll
M llvm/test/Transforms/MemCpyOpt/stackrestore.ll
M llvm/test/Transforms/MemCpyOpt/store-to-memset-is-nonzero-type.ll
M llvm/test/Transforms/MemCpyOpt/store-to-memset.ll
M llvm/test/Transforms/MemCpyOpt/vscale-memset.ll
Log Message:
-----------
[MemCpyOpt] Add test scaffolding for MSSA based MemCpyOpt
This adds an -enable-memcpyopt-memoryssa option that currently does
nothing apart from requiring MSSA as a dependency. The tests are
split to run both with the option disabled and enabled. I went with
this rather than the separate directory DSE uses, as I found it
convenient to have a direct side-by-side comparison of differences.
Differential Revision: https://reviews.llvm.org/D89206
More information about the All-commits
mailing list