[DSE] Add test cases with more complex redundant stores.
authorFlorian Hahn <flo@fhahn.com>
Fri, 22 Oct 2021 12:50:32 +0000 (13:50 +0100)
committerFlorian Hahn <flo@fhahn.com>
Fri, 22 Oct 2021 12:50:32 +0000 (13:50 +0100)
commit286e98b97ebed4dfed38940d192667f84741fd65
treed0de27fd72c82b4c6ac83260f4eb73696e956cae
parentff569ed03092dba39effcc45e81d64beff800bb5
[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.
llvm/test/Transforms/DeadStoreElimination/memset-unknown-sizes.ll
llvm/test/Transforms/DeadStoreElimination/multiblock-throwing.ll
llvm/test/Transforms/DeadStoreElimination/stores-of-existing-values.ll