llvm-project/llvm/test/Transforms/MemCpyOpt
Huihui Zhang 4f5af9d70d [ValueTracking] Fix usage of DataLayout::getTypeStoreSize()
Summary:
DataLayout::getTypeStoreSize() returns TypeSize.

For cases where it can not be scalable vector (e.g., GlobalVariable),
explicitly call TypeSize::getFixedSize().

For cases where scalable property doesn't matter, (e.g., check for
zero-sized type), use TypeSize::isNonZero().

Reviewers: sdesmalen, efriedma, apazos, reames

Reviewed By: efriedma

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76454
2020-03-20 16:52:15 -07:00
..
2008-02-24-MultipleUseofSRet.ll
2008-03-13-ReturnSlotBitcast.ll
2011-06-02-CallSlotOverwritten.ll
aggregate-type-crash.ll [MemCpyOpt] Fixing Incorrect Code Motion while Handling Aggregate Type Values 2019-10-21 10:00:34 +00:00
align.ll
atomic.ll
callslot_aa.ll
callslot_deref.ll
callslot_throw.ll
capturing-func.ll
crash.ll
fca2memcpy.ll
form-memset.ll MemCpyOpt cannot use ABI alignment even if it was not given 2020-02-06 06:21:55 +09:00
invariant.start.ll
lifetime.ll Revert "Revert "As a follow-up to my initial mail to llvm-dev here's a first pass at the O1 described there."" 2019-11-26 20:28:52 -08:00
load-store-to-memcpy.ll
loadstore-sret.ll
memcpy-to-memset-with-lifetimes.ll [BuildLibCalls] Noalias annotation 2019-08-14 16:50:06 +00:00
memcpy-to-memset.ll
memcpy-undef.ll
memcpy.ll
memmove.ll
memset-memcpy-oversized.ll
memset-memcpy-redundant-memset.ll
memset-memcpy-to-2x-memset.ll
nontemporal.ll
pr29105.ll
pr37967.ll [Transform][MemCpyOpt] Add missing DebugLoc to %tmpbitcast 2020-02-28 15:20:51 +00:00
process_store.ll
profitable-memset.ll
smaller.ll
sret.ll
stackrestore.ll
store-to-memset-is-nonzero-type.ll [ValueTracking] Fix usage of DataLayout::getTypeStoreSize() 2020-03-20 16:52:15 -07:00
store-to-memset.ll [ValueTracking] Improve pointer offset computation for cases of same base 2019-10-10 21:30:43 +00:00
vscale-memset.ll [ValueTracking][SVE] Fix getOffsetFromIndex for scalable vector. 2020-03-20 14:48:29 -07:00