[unittests/DeLICM] Add test for Occipied vs Occupied.
commitc1d0b544274f7aeba260fc66ddd1638cad35f109
authorMichael Kruse <llvm@meinersbur.de>
Wed, 26 Apr 2017 21:52:51 +0000 (26 21:52 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Wed, 26 Apr 2017 21:52:51 +0000 (26 21:52 +0000)
tree7c784017b48ff67343e7cc9c6a609b2e8a6c8141
parent6da93e21d910266fca48c5999407fce0169979b4
[unittests/DeLICM] Add test for Occipied vs Occupied.

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.

Add a case to test this principle.

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