Meinersbur wrote:

> ```c
> #pragma omp simd reduction(+:v0)
> #pragma unroll(4)
> ```

That's not supposed to work. I think in the past the unroll pragma was just 
dropped. If the debug info is the issue, there hasn't been a lot of care to get 
OpenMP emit correct debug info, see e.g. #110700.  

For this reason OpenMP 5.1 added new pragma:
```c
#pragma omp simd reduction(+:v0)
#pragma omp unroll partial(4)
```


https://github.com/llvm/llvm-project/pull/131985
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to