summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 57caef9b0d1..4e22fad435e 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -3240,11 +3240,7 @@ bool ScopInfo::buildScalarDependences(Instruction *Inst, Region *R,
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;
}
OpenPOWER on IntegriCloud