brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · 5f62a45 Raw
59 lines · plain
1; RUN: not --crash opt %loadNPMPolly '-passes=polly-custom<import-jscop>' -polly-import-jscop-postfix=transformed -disable-output < %s 2>&1 | FileCheck %s2;3; CHECK: Array has no key 'sizes'.4;5; Verify if the JSONImporter checks if the arrays have a key name 'sizes'.6;7;  for (i = 0; i < _PB_NI; i++)8;    for (j = 0; j < _PB_NJ; j++)9;      for (k = 0; k < _PB_NK; ++k)10;        B[i][j] = beta * A[i][k];11;12;13 14target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"15target triple = "x86_64-unknown-unknown"16 17; Function Attrs: nounwind uwtable18define internal void @ia2(i32 %arg, i32 %arg1, i32 %arg2, double %arg3, double %beta, ptr %A, ptr %B, ptr %arg7) #0 {19bb:20  br label %bb821 22bb8:                                              ; preds = %bb23  br label %bb924 25bb9:                                              ; preds = %bb23, %bb826  %tmp = phi i64 [ 0, %bb8 ], [ %tmp24, %bb23 ]27  br label %bb1028 29bb10:                                             ; preds = %bb20, %bb930  %tmp11 = phi i64 [ 0, %bb9 ], [ %tmp21, %bb20 ]31  br label %bb1232 33bb12:                                             ; preds = %bb12, %bb1034  %tmp13 = phi i64 [ 0, %bb10 ], [ %tmp18, %bb12 ]35  %tmp14 = getelementptr inbounds [1024 x double], ptr %B, i64 %tmp, i64 %tmp1336  %tmp15 = load double, ptr %tmp14, align 837  %tmp16 = fmul double %tmp15, %beta38  %tmp17 = getelementptr inbounds [1056 x double], ptr %A, i64 %tmp, i64 %tmp1139  store double %tmp16, ptr %tmp17, align 840  %tmp18 = add nuw nsw i64 %tmp13, 141  %tmp19 = icmp ne i64 %tmp18, 102442  br i1 %tmp19, label %bb12, label %bb2043 44bb20:                                             ; preds = %bb1245  %tmp21 = add nuw nsw i64 %tmp11, 146  %tmp22 = icmp ne i64 %tmp21, 105647  br i1 %tmp22, label %bb10, label %bb2348 49bb23:                                             ; preds = %bb2050  %tmp24 = add nuw nsw i64 %tmp, 151  %tmp25 = icmp ne i64 %tmp24, 105652  br i1 %tmp25, label %bb9, label %bb2653 54bb26:                                             ; preds = %bb2355  ret void56}57 58attributes #0 = { nounwind uwtable "target-cpu"="x86-64" "target-features"="+aes,+avx,+cmov,+cx16,+fxsr,+mmx,+pclmul,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsaveopt" }59