Tobias Grosser | 4dc909c | 2015-10-25 22:56:42 +0000 | [diff] [blame] | 1 | ; RUN: opt %loadPolly -polly-detect \ |
| 2 | ; RUN: -analyze < %s | FileCheck %s |
Johannes Doerfert | 30c2265 | 2015-10-18 21:17:11 +0000 | [diff] [blame] | 3 | ; |
Tobias Grosser | 4dc909c | 2015-10-25 22:56:42 +0000 | [diff] [blame] | 4 | ; CHECK: Valid Region for Scop: if.end.1631 => for.cond.1647.outer |
Johannes Doerfert | 30c2265 | 2015-10-18 21:17:11 +0000 | [diff] [blame] | 5 | ; |
| 6 | target triple = "x86_64-unknown-linux-gnu" |
| 7 | |
| 8 | ; Function Attrs: nounwind uwtable |
| 9 | define void @qtm_decompress() #0 { |
| 10 | entry: |
| 11 | br label %if.end.1631 |
| 12 | |
| 13 | if.end.1631: ; preds = %entry |
| 14 | br i1 false, label %for.cond.1647.preheader, label %if.then.1635 |
| 15 | |
| 16 | if.then.1635: ; preds = %if.end.1631 |
| 17 | br label %for.cond.1647.preheader |
| 18 | |
| 19 | for.cond.1647.preheader: ; preds = %if.then.1635, %if.end.1631 |
| 20 | br label %for.cond.1647.outer |
| 21 | |
| 22 | for.cond.1647.outer: ; preds = %do.end.1685, %for.cond.1647.preheader |
| 23 | %bits_needed.5.ph = phi i8 [ 8, %for.cond.1647.preheader ], [ undef, %do.end.1685 ] |
| 24 | br label %for.cond.1647 |
| 25 | |
| 26 | for.cond.1647: ; preds = %do.cond.1718, %for.cond.1647.outer |
| 27 | %bits_needed.5 = phi i8 [ 8, %do.cond.1718 ], [ %bits_needed.5.ph, %for.cond.1647.outer ] |
| 28 | br i1 undef, label %do.cond.1718, label %if.then.1659 |
| 29 | |
| 30 | if.then.1659: ; preds = %for.cond.1647 |
| 31 | br i1 false, label %do.end.1685, label %cleanup.1785 |
| 32 | |
| 33 | do.end.1685: ; preds = %if.then.1659 |
| 34 | br label %for.cond.1647.outer |
| 35 | |
| 36 | do.cond.1718: ; preds = %for.cond.1647 |
| 37 | br i1 false, label %land.lhs.true.1736, label %for.cond.1647 |
| 38 | |
| 39 | land.lhs.true.1736: ; preds = %do.cond.1718 |
| 40 | br label %if.then.1742 |
| 41 | |
| 42 | if.then.1742: ; preds = %land.lhs.true.1736 |
| 43 | unreachable |
| 44 | |
| 45 | cleanup.1785: ; preds = %if.then.1659 |
| 46 | ret void |
| 47 | } |
| 48 | |
| 49 | attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" } |
| 50 | |
| 51 | !llvm.ident = !{!0} |
| 52 | |
| 53 | !0 = !{!"clang version 3.8.0 (trunk 250010) (llvm/trunk 250018)"} |