llvm-project
44 строки · 1.7 Кб
1; RUN: opt %loadNPMPolly '-passes=print<polly-detect>' -disable-output < %s 2>&1 | FileCheck %s
2
3; CHECK: Valid Region for Scop: if.end.1631 => for.cond.1647.outer
4
5target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
6
7define void @qtm_decompress() {
8entry:
9br label %while.cond.outer.outer
10
11while.cond.outer.outer: ; preds = %entry
12br label %if.end.1631
13
14if.end.1631: ; preds = %do.end.1721, %while.cond.outer.outer
15br i1 false, label %for.cond.1647.preheader, label %if.then.1635
16
17if.then.1635: ; preds = %if.end.1631
18br label %for.cond.1647.preheader
19
20for.cond.1647.preheader: ; preds = %if.then.1635, %if.end.1631
21br label %for.cond.1647.outer
22
23for.cond.1647.outer: ; preds = %do.end.1685, %for.cond.1647.preheader
24%bits_needed.5.ph = phi i8 [ 8, %for.cond.1647.preheader ], [ 0, %do.end.1685 ]
25br label %for.cond.1647
26
27for.cond.1647: ; preds = %do.cond.1718, %for.cond.1647.outer
28br i1 undef, label %do.cond.1718, label %if.then.1659
29
30if.then.1659: ; preds = %for.cond.1647
31br i1 false, label %do.end.1685, label %if.then.1662
32
33if.then.1662: ; preds = %if.then.1659
34unreachable
35
36do.end.1685: ; preds = %if.then.1659
37br label %for.cond.1647.outer
38
39do.cond.1718: ; preds = %for.cond.1647
40br i1 false, label %do.end.1721, label %for.cond.1647
41
42do.end.1721: ; preds = %do.cond.1718
43br label %if.end.1631
44}
45