[ScopInfo] Fix assertion for PHIs not in a region stmts entry.
commit4543e495e8b0b4d30058fc0697e43562e0994ab9
authorMichael Kruse <llvm@meinersbur.de>
Tue, 25 Jul 2017 13:28:39 +0000 (25 13:28 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 25 Jul 2017 13:28:39 +0000 (25 13:28 +0000)
treea7d663538f9bfb98ab6a33384a5ec21ee5eb073f
parentef729dc3339b9ca91dd35e9f5d7625386b8a9e5e
[ScopInfo] Fix assertion for PHIs not in a region stmts entry.

A PHI node within a region statement is legal, but does not have
a MemoryKind::PHI access.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@308973 91177308-0d34-0410-b5e6-96231b3b80d8
include/polly/ScopInfo.h
test/Simplify/phi_in_regionstmt.ll [new file with mode: 0644]