[clang] [llvm] [openmp] [Clang][OpenMP] Implement Loop splitting `#pragma omp split` directive (PR #190397)

Amit Tiwari via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 02:57:54 PDT 2026


amitamd7 wrote:

> I get an error with `check-openmp` with this:
> 
> ```
> # RUN: at line 2
> /home/meinersbur/src/llvm/main/release/bin/clang -target x86_64-unknown-linux-gnu --analyze -fopenmp -fopenmp-version=60 /c/Users/meinersbur/src/llvm/main/_src/clang/test/OpenMP/split_analyze.c -o /home/meinersbur/src/llvm/main/release/tools/clang/test/OpenMP/Output/split_analyze.c.tmp.plist
> # executed command: /home/meinersbur/src/llvm/main/release/bin/clang -target x86_64-unknown-linux-gnu --analyze -fopenmp -fopenmp-version=60 /c/Users/meinersbur/src/llvm/main/_src/clang/test/OpenMP/split_analyze.c -o /home/meinersbur/src/llvm/main/release/tools/clang/test/OpenMP/Output/split_analyze.c.tmp.plist
> # .---command stderr------------
> # | error: action RunAnalysis not compiled in
> # `-----------------------------
> # error: command failed with exit status: 1
> ```
> 
> I disabled the static analyzer with `CLANG_ENABLE_STATIC_ANALYZER=OFF` . It needs a `REQUIRED: ` line, but static analyzer tests are not end2end tests and therefore don't need to be in `openmp/`, they are fine in `clang/test/Analyzer`.

Listed the test in `clang/test/Analysis`. Thanks for pointing this out!

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


More information about the cfe-commits mailing list