[ScopInfo] Fix assertion for PHIs not in a region stmts entry.
authorMichael Kruse <llvm@meinersbur.de>
Tue, 25 Jul 2017 13:28:39 +0000 (13:28 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 25 Jul 2017 13:28:39 +0000 (13:28 +0000)
commitb6317007b4cddfa473e856968bcba43cbf0435eb
treef7156dc4d8d659259069340cbf857088f00d7e5d
parent32e9b1ad0b0eaba1cdfe2f3637764e15574fd40c
[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.

llvm-svn: 308973
polly/include/polly/ScopInfo.h
polly/test/Simplify/phi_in_regionstmt.ll [new file with mode: 0644]