[Simplify] Remove identical write removal. NFC.
authorMichael Kruse <llvm@meinersbur.de>
Sat, 13 May 2017 12:20:57 +0000 (12:20 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Sat, 13 May 2017 12:20:57 +0000 (12:20 +0000)
commitfa7be88378ef84e41b559323cbb9571678240056
tree233692a0494d66a997a432ce428a629e7e1177a2
parentf263610b82648e1a4c6ae11f29dd82579cb4c390
[Simplify] Remove identical write removal. NFC.

Removal of overwritten writes currently encompasses all the cases
of the identical write removal.

There is an observable behavioral change in that the last, instead
of the first, MemoryAccess is kept. This should not affect the
generated code, however.

Differential Revision: https://reviews.llvm.org/D33143

llvm-svn: 302987
polly/lib/Transform/Simplify.cpp
polly/test/Simplify/overwritten_3phi.ll [moved from polly/test/Simplify/identical_3phi.ll with 88% similarity]
polly/test/Simplify/overwritten_3phi___%for---%return.jscop [moved from polly/test/Simplify/identical_3phi___%for---%return.jscop with 100% similarity]
polly/test/Simplify/overwritten_3phi___%for---%return.jscop.transformed [moved from polly/test/Simplify/identical_3phi___%for---%return.jscop.transformed with 100% similarity]
polly/test/Simplify/overwritten_scalar.ll [moved from polly/test/Simplify/identical.ll with 86% similarity]
polly/test/Simplify/overwritten_scalar___%for---%return.jscop [moved from polly/test/Simplify/identical___%for---%return.jscop with 100% similarity]
polly/test/Simplify/overwritten_scalar___%for---%return.jscop.transformed [moved from polly/test/Simplify/identical___%for---%return.jscop.transformed with 100% similarity]