SunilKuravinakop wrote:

We found in our testing that in code like:

```
#pragma omp parallel num_threads(4)
#pragma omp for reduction (+:a[1])
for   (i = 0; i < 10; i++)

{     a[1] += i; }
```
reduction was not being done properly. Hence this fix.

https://github.com/llvm/llvm-project/pull/160846
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to