[flang-commits] [flang] [Flang][OpenMP] Skip unrelated passes in simd-only mode (PR #219193)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Thu Aug 27 07:47:20 PDT 2026


skatrak wrote:

> I agree with the behaviour described in the original commit, this seems to be the clang default as well. If that is not what is happening, then it could be due to last flag win defaults in the driver or an oversight. If your opinion is different we should check broadly.

It looks like I got all confused while looking at `parseOpenMPArgs()` between it only checking for the `-fopenmp-simd` flag if `-fopenmp` wasn't present and the optional early return. But you're right, it is already working as described in the original commit.

I should have addressed your review comments with the last commit.

https://github.com/llvm/llvm-project/pull/219193


More information about the flang-commits mailing list