1 ; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s
3 ; The SCoP contains a loop with multiple exit blocks (BBs after leaving
4 ; the loop). The current implementation of deriving their domain derives
5 ; only a common domain for all of the exit blocks. We disabled loops with
6 ; multiple exit blocks until this is fixed.
9 ; CHECK: { Stmt_bb3[i0] -> [0, 0] };
10 ; CHECK: { Stmt_bb2[] -> [1, 0] };
12 ; Verify that we generate the correct schedule. In older versions of Polly,
13 ; we generated an incorrect schedule:
15 ; { Stmt_bb3[i0] -> [1, 0]; Stmt_bb2[] -> [0, 0] }
17 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
27 %tmp = phi i64 [ %tmp4, %bb3 ]
30 bb3: ; preds = %bb5, %bb
31 %tmp4 = phi i64 [ 0, %bb ], [ 0, %bb5 ]
32 br i1 false, label %bb5, label %bb2
35 br i1 false, label %bb3, label %bb1
37 bb6: ; preds = %bb2, %bb1
38 %tmp2 = phi i64 [ %tmp, %bb2 ], [ undef, %bb1 ]