[DSE] Allow DSE to optimize MemorySSA by default.
authorFlorian Hahn <flo@fhahn.com>
Wed, 1 Dec 2021 08:29:23 +0000 (08:29 +0000)
committerFlorian Hahn <flo@fhahn.com>
Wed, 1 Dec 2021 08:29:23 +0000 (08:29 +0000)
commit7de410440d46e83aa81aed19a4215a92798c5eb5
treeaf11966b9ac8559a04e31229112235cdf7c95b02
parentbdcc5aadf5aa90f36b5a964e2285dc6a3b244ed9
[DSE] Allow DSE to optimize MemorySSA by default.

This allows for better optimization of 'stores-of-existing-values' and
possibly helps passes further down the pipeline.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D113712
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
llvm/test/Transforms/DeadStoreElimination/stores-of-existing-values.ll