1 ; RUN: opt %loadPolly -analyze -polly-scops < %s | FileCheck %s
3 ; CHECK: Stmt_loopA[i0] -> [0, 0, 0]
4 ; CHECK-DAG: Stmt_loopB[i0] -> [0, 0, 1]
5 ; CHECK-DAG: Stmt_bbB[] -> [1, 0, 0]
6 ; CHECK-DAG: Stmt_bbA[] -> [2, 0, 0]
7 ; CHECK-DAG: Stmt_bbMerge[] -> [3, 0, 0]
9 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
11 define void @hoge(i64 %p0, i64 %p1, i64 %p2, i64 %p3, float* %A) {
16 %tmp4 = phi i64 [ 0, %entry ], [ 0, %loopB]
17 store float 42.0, float* %A
18 %cmp0 = icmp sle i64 %p0, 100
19 br i1 %cmp0, label %loopB, label %bbB
22 store float 42.0, float* %A
23 %cmp1 = icmp sle i64 %p1, 100
24 br i1 %cmp1, label %loopA, label %bbA
27 store float 42.0, float* %A
28 %cmpbbA = icmp sle i64 %p2, 50
29 br i1 %cmpbbA, label %bbMerge, label %exit
32 store float 42.0, float* %A
33 %cmpbbB= icmp sle i64 %p3, 200
34 br i1 %cmpbbB, label %exit, label %bbMerge
37 store float 42.0, float* %A