Revert "[DSE] Remove stores in the same loop iteration"
authorDavid Green <david.green@arm.com>
Tue, 8 Jun 2021 20:23:08 +0000 (21:23 +0100)
committerDavid Green <david.green@arm.com>
Tue, 8 Jun 2021 20:23:08 +0000 (21:23 +0100)
commit297088d1add70cae554c8f96dde3a97a3e8d56a5
tree7ce36867576533618adbabf0d61d426db6160711
parenta7142f5c91ba0e4dbe6dbd36e3f4ac6ccd33a418
Revert "[DSE] Remove stores in the same loop iteration"

Apparently non-dead stores are being removed, as noted in D100464.

This reverts commit 222aeb4d51a46c5a81c9e4ccb16d1d19dd21ec95.
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
llvm/test/CodeGen/AMDGPU/opt-pipeline.ll
llvm/test/Other/opt-O2-pipeline.ll
llvm/test/Other/opt-O3-pipeline-enable-matrix.ll
llvm/test/Other/opt-O3-pipeline.ll
llvm/test/Other/opt-Os-pipeline.ll
llvm/test/Transforms/DeadStoreElimination/multiblock-loops.ll