[flang-commits] [flang] [flang][OpenMP] Fix firstprivate not working with lastprivate in DO SIMD (PR #170163)
via flang-commits
flang-commits at lists.llvm.org
Mon Dec 1 08:33:57 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3830 tests passed
* 201 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Integration/OpenMP/do-simd-firstprivate-lastprivate-runtime.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fopenmp -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/do-simd-firstprivate-lastprivate-runtime.f90 -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/do-simd-firstprivate-lastprivate-runtime.f90 --check-prefix=LLVM
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fopenmp -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/do-simd-firstprivate-lastprivate-runtime.f90 -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/do-simd-firstprivate-lastprivate-runtime.f90 --check-prefix=LLVM
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fopenmp /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/do-simd-firstprivate-lastprivate-runtime.f90 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Integration/OpenMP/Output/do-simd-firstprivate-lastprivate-runtime.f90.tmp && /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Integration/OpenMP/Output/do-simd-firstprivate-lastprivate-runtime.f90.tmp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/do-simd-firstprivate-lastprivate-runtime.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fopenmp /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/do-simd-firstprivate-lastprivate-runtime.f90 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/flang/test/Integration/OpenMP/Output/do-simd-firstprivate-lastprivate-runtime.f90.tmp
# .---command stderr------------
# | /usr/bin/ld: cannot find -lflang_rt.runtime: No such file or directory
# | flang-22: error: linker command failed with exit code 1 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Flang.Lower/OpenMP/do-simd-firstprivate-lastprivate.f90</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fopenmp -mmlir --openmp-enable-delayed-privatization-staging=true -emit-hlfir /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/OpenMP/do-simd-firstprivate-lastprivate.f90 -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/OpenMP/do-simd-firstprivate-lastprivate.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fopenmp -mmlir --openmp-enable-delayed-privatization-staging=true -emit-hlfir /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/OpenMP/do-simd-firstprivate-lastprivate.f90 -o -
# .---command stderr------------
# | flang (MLIR option parsing): Unknown command line argument '--openmp-enable-delayed-privatization-staging=true'. Try: 'flang (MLIR option parsing) --help'
# | flang (MLIR option parsing): Did you mean '--enable-delayed-privatization-staging=true'?
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/OpenMP/do-simd-firstprivate-lastprivate.f90
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Lower/OpenMP/do-simd-firstprivate-lastprivate.f90
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/170163
More information about the flang-commits
mailing list