[ZoneAlgo] Allow two writes that write identical values into same array slot
commit8cd8e65b92d61ef84f394ea514c08f63062b5a94
authorTobias Grosser <tobias@grosser.es>
Mon, 7 Aug 2017 22:01:29 +0000 (7 22:01 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 7 Aug 2017 22:01:29 +0000 (7 22:01 +0000)
tree2abb060543274278934030f76d351e1f732027a9
parentace4758b415f8f50410d4e575a4778bdcaf5cba8
[ZoneAlgo] Allow two writes that write identical values into same array slot

Two write statements which write into the very same array slot generally are
conflicting. However, in case the value that is written is identical, this
does not cause any problem. Hence, allow such write pairs in this specific
situation.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@310311 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transform/ZoneAlgo.cpp
test/ForwardOpTree/forward_load_double_write.ll [new file with mode: 0644]