brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.4 KiB · 149a2fc Raw
52 lines · plain
1; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa,scoped-noalias-aa,tbaa '-passes=polly-custom<scops>' -polly-print-scops -disable-output < %s2;3; Ensure that ScopInfo's alias analysis llvm.memcpy for,4; like the AliasSetTracker, preserves bitcasts.5 6target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"7 8@tonemasks = external global [17 x [6 x [56 x float]]], align 169 10; Function Attrs: argmemonly nounwind11declare void @llvm.memcpy.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i32, i1)12 13; Function Attrs: nounwind uwtable14define void @setup_tone_curves() {15entry:16  %workc = alloca [17 x [8 x [56 x float]]], align 1617  br label %for.cond7.preheader18 19for.cond7.preheader:                              ; preds = %for.cond7.preheader, %entry20  %indvars.iv45 = phi i64 [ %indvars.iv.next46, %for.cond7.preheader ], [ 0, %entry ]21  %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45, 122  %exitcond48 = icmp ne i64 %indvars.iv.next46, 5623  br i1 %exitcond48, label %for.cond7.preheader, label %for.body3624 25for.body36:                                       ; preds = %for.body36, %for.cond7.preheader26  %indvars.iv49 = phi i64 [ %indvars.iv.next50, %for.body36 ], [ 0, %for.cond7.preheader ]27  %arraydecay47 = getelementptr inbounds [17 x [6 x [56 x float]]], ptr @tonemasks, i64 0, i64 0, i64 %indvars.iv49, i64 028  call void @llvm.memcpy.p0.p0.i64(ptr %workc, ptr %arraydecay47, i64 224, i32 16, i1 false)29  %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49, 130  br i1 false, label %for.body36, label %for.end5031 32for.end50:                                        ; preds = %for.body3633  call void @llvm.memcpy.p0.p0.i64(ptr %workc, ptr @tonemasks, i64 224, i32 16, i1 false)34  br label %for.body7435 36for.body74:                                       ; preds = %for.body74, %for.end5037  %indvars.iv53 = phi i64 [ %indvars.iv.next54, %for.body74 ], [ 0, %for.end50 ]38  %arrayidx99 = getelementptr inbounds [17 x [8 x [56 x float]]], ptr %workc, i64 0, i64 0, i64 0, i64 %indvars.iv5339  %0 = load float, ptr %arrayidx99, align 440  store float undef, ptr %arrayidx99, align 441  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 142  %exitcond57 = icmp ne i64 %indvars.iv.next54, 5643  br i1 %exitcond57, label %for.body74, label %for.inc10444 45for.inc104:                                       ; preds = %for.body7446  ret void47}48 49!llvm.ident = !{!0}50 51!0 = !{!"clang version 4.0.0 (trunk 285057) (llvm/trunk 285063)"}52