| Tobias Grosser | 020fa09 | 2015-11-21 23:05:48 +0000 | [diff] [blame] | 1 | ; RUN: opt %loadPolly -polly-detect -analyze < %s \ |
| Tobias Grosser | b12b006 | 2015-11-11 12:44:18 +0000 | [diff] [blame] | 2 | ; RUN: | FileCheck %s |
| 3 | ; |
| 4 | ; CHECK-NOT: Valid Region for Scop: |
| 5 | |
| 6 | target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" |
| 7 | target triple = "x86_64-unknown-linux-gnu" |
| 8 | |
| 9 | ; Function Attrs: nounwind uwtable |
| 10 | define void @hoge() #0 { |
| 11 | bb: |
| 12 | br label %bb1 |
| 13 | |
| 14 | bb1: ; preds = %bb |
| 15 | br i1 undef, label %bb2, label %bb7 |
| 16 | |
| 17 | bb2: ; preds = %bb1 |
| 18 | %tmp = load i32, i32* undef, align 8, !tbaa !1 |
| 19 | %tmp3 = tail call i32 @widget() #2 |
| 20 | br i1 false, label %bb4, label %bb5 |
| 21 | |
| 22 | bb4: ; preds = %bb2 |
| 23 | br label %bb8 |
| 24 | |
| 25 | bb5: ; preds = %bb2 |
| 26 | %tmp6 = sub i32 %tmp, %tmp3 |
| 27 | br label %bb8 |
| 28 | |
| 29 | bb7: ; preds = %bb1 |
| 30 | br label %bb8 |
| 31 | |
| 32 | bb8: ; preds = %bb7, %bb5, %bb4 |
| 33 | ret void |
| 34 | } |
| 35 | |
| 36 | ; Function Attrs: inlinehint nounwind readonly uwtable |
| 37 | declare i32 @widget() #1 |
| 38 | |
| 39 | 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"="+fxsr,+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" } |
| 40 | attributes #1 = { inlinehint nounwind readonly 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"="+fxsr,+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" } |
| 41 | attributes #2 = { nounwind readonly } |
| 42 | |
| 43 | !llvm.ident = !{!0} |
| 44 | |
| 45 | !0 = !{!"clang version 3.8.0 (trunk 252700) (llvm/trunk 252705)"} |
| 46 | !1 = !{!2, !7, i64 8} |
| 47 | !2 = !{!"cli_target_info", !3, i64 0, !6, i64 8, !4, i64 32} |
| 48 | !3 = !{!"long", !4, i64 0} |
| 49 | !4 = !{!"omnipotent char", !5, i64 0} |
| 50 | !5 = !{!"Simple C/C++ TBAA"} |
| 51 | !6 = !{!"cli_exe_info", !7, i64 0, !8, i64 4, !3, i64 8, !9, i64 16} |
| 52 | !7 = !{!"int", !4, i64 0} |
| 53 | !8 = !{!"short", !4, i64 0} |
| 54 | !9 = !{!"any pointer", !4, i64 0} |