Anton Rydahl

Results comments of Anton Rydahl

Update: I think the issue is in LICMPass. The loop invariant code (the array descriptors) is moved from `%omp_loop.body` to `%omp_loop.body.lr.ph` in the example that results in optimized code. It...

Hi Kiran Yes, you are right. The pass you mention is an important step towards resolving the problem. But I would still argue that the quality of the code could...

Oh, are there more errors in the OpenMP documentation? I could fix them as well.

[This commit](https://github.com/llvm/llvm-project/commit/b880552dc1aef33402d084f07f6bf93b6a0b08e0) fixed the issue. 😄

Thanks! I have prepared a patch on Phabricator: [https://reviews.llvm.org/D156641](https://reviews.llvm.org/D156641)

A small update: One can for instance pass `-fopenmp-simd` or `-Werror` to the device with `-Xopenmp-target=`.

Thank you, @philnik777! It works with `-fexperimental-library -Wl,-rpath,install/lib/x86_64-unknown-linux-gnu/`. Should I maybe update the `libcxx` documentation to mention that?

Oh, and it fails when building with Clang 17. I don't know if that is also important.

Was the solution that we talked about just to change `std::move` to `std::forward` for each implementation that uses `_LIBCPP_PSTL_CUSTOMIZATION_POINT `, or do you think more changes are needed?

Sorry about the inactivity. I’d like to keep my commit access too, please.