diff options
Diffstat (limited to 'polly/lib/Analysis/ScopDetection.cpp')
-rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 1ec38d566ed..5aa905928d1 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -1031,14 +1031,6 @@ bool ScopDetection::isValidRegion(DetectionContext &Context) const { return false; } - if (!CurRegion.getEnteringBlock()) { - BasicBlock *entry = CurRegion.getEntry(); - Loop *L = LI->getLoopFor(entry); - - if (L && !L->isLoopSimplifyForm()) - return invalid<ReportSimpleLoop>(Context, /*Assert=*/true); - } - // SCoP cannot contain the entry block of the function, because we need // to insert alloca instruction there when translate scalar to array. if (CurRegion.getEntry() == |