1 ; RUN: opt %loadPolly -polly-scops -disable-output < %s
3 ; Check we do not crash.
5 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
7 %struct.regnode_charclass_class.2.42.654.690.726.870.978.1770.1806.1842.2166.2274.2382.2598.2814.3030.3064 = type { i8, i8, i16, i32, [32 x i8], [4 x i8] }
9 ; Function Attrs: nounwind uwtable
10 define void @S_cl_or(ptr %cl, ptr %or_with) #0 {
12 %0 = load i8, ptr %or_with, align 4, !tbaa !1
13 %conv = zext i8 %0 to i32
14 %1 = load i8, ptr undef, align 4, !tbaa !1
15 br label %land.lhs.true35
17 land.lhs.true35: ; preds = %entry
18 %and38 = and i32 %conv, 2
19 %tobool39 = icmp ne i32 %and38, 0
21 %tobool43 = icmp eq i8 %and42, 0
22 %or.cond45 = and i1 %tobool39, %tobool43
23 br i1 %or.cond45, label %if.end91, label %for.body49
25 for.body49: ; preds = %land.lhs.true35
26 %2 = load i8, ptr %or_with, align 4, !tbaa !1
28 %tobool66 = icmp eq i8 %and65, 0
29 br i1 %tobool66, label %if.end91, label %for.body71
31 for.body71: ; preds = %for.body71, %for.body49
32 %arrayidx77 = getelementptr inbounds %struct.regnode_charclass_class.2.42.654.690.726.870.978.1770.1806.1842.2166.2274.2382.2598.2814.3030.3064, ptr %cl, i64 0, i32 5, i64 0
33 store i8 undef, ptr %arrayidx77, align 1, !tbaa !7
34 br i1 false, label %for.body71, label %if.end91
36 if.end91: ; preds = %for.body71, %for.body49, %land.lhs.true35
40 attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
44 !0 = !{!"clang version 3.9.0"}
46 !2 = !{!"regnode_charclass_class", !3, i64 0, !3, i64 1, !5, i64 2, !6, i64 4, !3, i64 8, !3, i64 40}
47 !3 = !{!"omnipotent char", !4, i64 0}
48 !4 = !{!"Simple C/C++ TBAA"}
49 !5 = !{!"short", !3, i64 0}
50 !6 = !{!"int", !3, i64 0}