ScopInfo: Drop unnecessary code
This case has already been taken care of in r250622 and was then accidentally
again committed in 250625.
llvm-svn: 251156
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 57caef9..4e22fad 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -3240,11 +3240,7 @@
continue;
// Check whether or not the use is in the SCoP.
- // If there is single exiting block, the single incoming value exit for node
- // PHIs are handled like any escaping SCALAR. Otherwise, as if the PHI
- // belongs to the the scop region.
- bool IsExitNodePHI = isa<PHINode>(UI) && UI->getParent() == R->getExit();
- if (!R->contains(UseParent) && (R->getExitingBlock() || !IsExitNodePHI)) {
+ if (!R->contains(UseParent)) {
AnyCrossStmtUse = true;
continue;
}