[unittests/DeLICM] Add test for Written vs Written.
commit3bfb5edfd045af63e12dcd34967368f994ec4aec
authorMichael Kruse <llvm@meinersbur.de>
Wed, 26 Apr 2017 21:52:55 +0000 (26 21:52 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Wed, 26 Apr 2017 21:52:55 +0000 (26 21:52 +0000)
tree9e7806ecb1b175c0fb21e79984daf77ab5c789d8
parentc1d0b544274f7aeba260fc66ddd1638cad35f109
[unittests/DeLICM] Add test for Written vs Written.

The interpretation of multiple known ValInsts for the same element and
timepoint is that these are alterntivate names for the same values,
for instance a PHINode and the incoming value when knowning it was
the last executed block. That means that known values do not conflict
if there at least (but necessarily all) one common ValInst.

This prinviple also applies to Written values. Add a test for this
principle.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@301481 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/DeLICM/DeLICMTest.cpp