brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · 3ee6ff7 Raw
50 lines · plain
1; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output < %s2;3; Check we do not crash.4;5target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"6 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] }8 9; Function Attrs: nounwind uwtable10define void @S_cl_or(ptr %cl, ptr %or_with) {11entry:12  %0 = load i8, ptr %or_with, align 4, !tbaa !113  %conv = zext i8 %0 to i3214  %1 = load i8, ptr undef, align 4, !tbaa !115  br label %land.lhs.true3516 17land.lhs.true35:                                  ; preds = %entry18  %and38 = and i32 %conv, 219  %tobool39 = icmp ne i32 %and38, 020  %and42 = and i8 %1, 221  %tobool43 = icmp eq i8 %and42, 022  %or.cond45 = and i1 %tobool39, %tobool4323  br i1 %or.cond45, label %if.end91, label %for.body4924 25for.body49:                                       ; preds = %land.lhs.true3526  %2 = load i8, ptr %or_with, align 4, !tbaa !127  %and65 = and i8 %2, 828  %tobool66 = icmp eq i8 %and65, 029  br i1 %tobool66, label %if.end91, label %for.body7130 31for.body71:                                       ; preds = %for.body71, %for.body4932  %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 033  store i8 undef, ptr %arrayidx77, align 1, !tbaa !734  br i1 false, label %for.body71, label %if.end9135 36if.end91:                                         ; preds = %for.body71, %for.body49, %land.lhs.true3537  ret void38}39 40!llvm.ident = !{!0}41 42!0 = !{!"clang version 3.9.0"}43!1 = !{!2, !3, i64 0}44!2 = !{!"regnode_charclass_class", !3, i64 0, !3, i64 1, !5, i64 2, !6, i64 4, !3, i64 8, !3, i64 40}45!3 = !{!"omnipotent char", !4, i64 0}46!4 = !{!"Simple C/C++ TBAA"}47!5 = !{!"short", !3, i64 0}48!6 = !{!"int", !3, i64 0}49!7 = !{!3, !3, i64 0}50