[unittests/DeLICM] Add test for Written vs Written.
authorMichael Kruse <llvm@meinersbur.de>
Wed, 26 Apr 2017 21:52:55 +0000 (21:52 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Wed, 26 Apr 2017 21:52:55 +0000 (21:52 +0000)
commite6d2bebb25f2c1a1ffb1884b11df37ff50a33c49
tree4f762ec118defa984421ff9a67e71fb0ca4a1124
parent8080011ca1e9a70f502b2678a4c68957ff2ef299
[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.

llvm-svn: 301481
polly/unittests/DeLICM/DeLICMTest.cpp