1; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
2
3; CHECK: MustWriteAccess :=  [Reduction Type: NONE] [Scalar: 1]
4; CHECK-NEXT: [p_0] -> { Stmt_bb3[] -> MemRef_tmp5[] };
5
6target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
7
8define void @hoge() {
9bb:
10  br label %bb2
11
12bb2:                                              ; preds = %bb
13  %tmp = load i64*, i64** undef
14  br label %bb3
15
16bb3:                                              ; preds = %bb9, %bb2
17  %tmp4 = phi i64* [ %tmp, %bb2 ], [ %tmp5, %bb9 ]
18  %tmp5 = getelementptr inbounds i64, i64* %tmp4, i64 1
19  %tmp6 = load i64, i64* %tmp5
20  %tmp7 = and i64 %tmp6, 4160749568
21  br i1 false, label %bb8, label %bb9
22
23bb8:                                              ; preds = %bb3
24  br label %bb9
25
26bb9:                                              ; preds = %bb8, %bb3
27  %tmp10 = icmp eq i64 %tmp7, 134217728
28  br i1 %tmp10, label %bb11, label %bb3
29
30bb11:                                             ; preds = %bb9
31  br label %bb12
32
33bb12:                                             ; preds = %bb11
34  ret void
35}
36