llvm-project/llvm/test/Transforms/DeadStoreElimination
zoecarver 065bf124fd [DSE] Remove noop stores in MSSA.
Adds a simple fast-path check for the pattern:
v = load ptr
store v to ptr

I took the tests from the bugzilla post, I can add more if needed (but I think these should be sufficent).

Refs: https://bugs.llvm.org/show_bug.cgi?id=45795

Differential Revision: https://reviews.llvm.org/D79391
2020-05-30 09:57:30 -07:00
..
MSSA [DSE] Remove noop stores in MSSA. 2020-05-30 09:57:30 -07:00
X86
2011-03-25-DSEMiscompile.ll
2011-09-06-EndOfFunction.ll
2011-09-06-MemCpy.ll
2016-07-17-UseAfterFree.ll
DeleteThrowableInst.ll Fix for a dangling point bug in DeadStoreElimination pass 2020-01-03 14:28:44 +00:00
OverwriteStoreBegin.ll
OverwriteStoreEnd.ll
PartialStore.ll
PartialStore2.ll
atomic.ll
calloc-store.ll
combined-partial-overwrites.ll
const-pointers.ll
crash.ll
cs-cs-aliasing.ll
debuginfo.ll
dominate.ll
fence.ll
free.ll
inst-limits.ll
int_sideeffect.ll
invariant.start.ll
launder.invariant.group.ll
libcalls.ll DSE: fix bug where we would only check libcalls for name rather than whole decl 2020-01-11 11:57:29 +00:00
libcalls2.ll DSE: fix bug where we would only check libcalls for name rather than whole decl 2020-01-11 11:57:29 +00:00
lifetime.ll Re-commit: Mark values as trivially dead when their only use is a start or end lifetime intrinsic. 2020-05-08 12:24:10 -07:00
mda-with-dbg-values.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
memintrinsics.ll
memset-missing-debugloc.ll
merge-stores-big-endian.ll
merge-stores.ll StoreInst should store Align, not MaybeAlign 2020-05-15 12:26:58 -07:00
no-targetdata.ll
operand-bundles.ll
pr11390.ll
simple.ll Reland [X86] Codegen for preallocated 2020-05-20 11:25:44 -07:00
tail-byval.ll