Commit Graph

3 Commits

Author SHA1 Message Date
Nikita Popov fe2c4af905 [DSE] Make test more robust (NFC)
If the allocation is not captured, then all the stores before the
ret are dead anyway.
2022-01-11 11:49:52 +01:00
Florian Hahn 286e98b97e
[DSE] Add test cases with more complex redundant stores.
This patch adds more complex test cases with redundant stores of an
existing memset, with other stores in between.

It also makes a few of the existing tests more robust.
2021-10-22 13:50:32 +01:00
Nikita Popov 176bbcae11 [DSE] Remove MemDep-based implementation
The MemorySSA-based implementation has been enabled without issue
for a while now, so keeping the old implementation around doesn't
seem useful anymore. This drops the MemDep-based implementation.

Differential Revision: https://reviews.llvm.org/D97877
2021-03-07 18:17:31 +01:00