Commit 0a40ea5
[OpenMP] Apply COLLAPSE to innermost leaf that allows it (llvm#167565)
As per the wording from 5.2, the COLLAPSE clause applies once to the
entire construct. The 6.0 spec has a somewhat similar wording with the
same intent. In practice, apply the clause to the innermost leaf
constituent that allows it, without requiring it to be the exact
innermost leaf.1 parent ec2c905 commit 0a40ea5
1 file changed
+1
-12
lines changedLines changed: 1 addition & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
| 504 | + | |
516 | 505 | | |
517 | 506 | | |
518 | 507 | | |
| |||
0 commit comments