flang/test/Transforms/generic-loop-rewriting-todo.mlir
raw| 1 | // RUN: fir-opt --omp-generic-loop-conversion -verify-diagnostics %s |
| 2 | func.func @_QPloop_order() { |
| 3 | omp.teams { |
| 4 | %c0 = arith.constant 0 : i32 |
| 5 | %c10 = arith.constant 10 : i32 |
| 6 | %c1 = arith.constant 1 : i32 |
| 7 | |
| 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.yield |
| 12 | } |
| 13 | } |
| 14 | omp.terminator |
| 15 | } |
| 16 | return |
| 17 | } |