brintos

brintos / llvm-project-archived public Read only

0
0
Text · 481 B · f031bc9 Raw
12 lines · plain
1// RUN: mlir-opt %s -pass-pipeline='builtin.module(func.func(scf-parallel-loop-tiling{parallel-loop-tile-sizes=0,0}))' -split-input-file -verify-diagnostics2 3// The expected error is, "tile size cannot be 0" at an unknown location. (It's 4// location is unknown because the it's caused by an invalid command line 5// argument.)6// XFAIL: *7 8func.func @parallel_loop(%arg0 : index, %arg1 : index, %arg2 : index) {9  scf.parallel (%i) = (%arg0) to (%arg1) step (%arg2) {}10  return11}12