brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 6c8b2e9 Raw
37 lines · plain
1; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output -polly-isl-arg=-V < %s | FileCheck %s -match-full-lines --check-prefix=VERSION2; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output -polly-isl-arg=-h < %s | FileCheck %s -match-full-lines --check-prefix=HELP3; RUN: not opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output -polly-isl-arg=-asdf < %s 2>&1 | FileCheck %s -match-full-lines --check-prefix=UNKNOWN4; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-scops -disable-output -polly-isl-arg=--schedule-algorithm=feautrier < %s5 6; VERSION: isl-{{.*}}-IMath-327; HELP: Usage: -polly-isl-arg [OPTION...]8; UNKNOWN: -polly-isl-arg: unrecognized option: -asdf9 10target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"11 12; Any valid SCoP causing the creation of a ScopInfo object.13define void @foo_1d(ptr %A) {14bb:15  br label %bb116 17bb1:                                              ; preds = %bb6, %bb18  %i.0 = phi i64 [ 0, %bb ], [ %tmp7, %bb6 ]19  %exitcond = icmp ne i64 %i.0, 102420  br i1 %exitcond, label %bb2, label %bb821 22bb2:                                              ; preds = %bb123  %tmp = sitofp i64 %i.0 to float24  %tmp3 = getelementptr inbounds float, ptr %A, i64 %i.025  %tmp4 = load float, ptr %tmp3, align 426  %tmp5 = fadd float %tmp4, %tmp27  store float %tmp5, ptr %tmp3, align 428  br label %bb629 30bb6:                                              ; preds = %bb231  %tmp7 = add nuw nsw i64 %i.0, 132  br label %bb133 34bb8:                                              ; preds = %bb135  ret void36}37