[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 05:35:41 PDT 2026


skatrak wrote:

Tangentially to this patch: While looking at this, I was trying to figure out what the expected behavior was when `-fopenmp` and `-fopenmp-simd` are both present vs when only the latter is specified.

At the moment, it looks like when both are present, then the resulting behavior is the same as if only `-fopenmp-simd` was specified. However, the description of the original patch (#150269) seems to state the opposite:
> The flag is expected to have no effect if -fopenmp is passed explicitly [...]

Is the current behavior what is expected or is what the original commit stated what we should be doing?

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


More information about the flang-commits mailing list