https://github.com/alexey-bataev commented:
Check these tests:
```
void test_fuse_nested_reverse(void) {
int i, j, k, l;
#pragma omp fuse
{
#pragma omp fuse looprange(1, 2)
{
for (i = 0; i < 10; i++) ;
for (j = 0; j < 15; j++) ;
#pragma omp reverse
for (k = 0; k < 5; k++) ;
}
for (l = 0; l < 4; l++) ;
}
}
void test_fuse_reverse_captured_bound(int n) {
int i, j;
#pragma omp fuse
{
for (i = 0; i < 10; i++) ;
#pragma omp reverse
for (j = 0; j < n + 1; j++) ;
}
}
```
https://github.com/llvm/llvm-project/pull/214717
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits