brintos

brintos / llvm-project-archived public Read only

0
0
Text · 499 B · 64094d6 Raw
18 lines · plain
1// RUN: fir-opt --omp-generic-loop-conversion -verify-diagnostics %s2func.func @_QPloop_order() {3  omp.teams {4    %c0 = arith.constant 0 : i325    %c10 = arith.constant 10 : i326    %c1 = arith.constant 1 : i327 8    // expected-error@below {{not yet implemented: Unhandled clause order in omp.loop operation}}9    omp.loop order(reproducible:concurrent) {10      omp.loop_nest (%arg3) : i32 = (%c0) to (%c10) inclusive step (%c1) {11        omp.yield12      }13    }14    omp.terminator15  }16  return17}18