[flang-commits] [flang] [Flang][OpenMP]Add tests for align and allocator in allocate clauses (PR #121356)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Mon Jan 20 08:11:18 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `flang` at step 7 "Add check check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/15102
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (Add check check-flang) failure: test (failure)
******************** TEST 'Flang :: Lower/OpenMP/Todo/allocate-clause-allocator.f90' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang -fc1 -emit-llvm -fopenmp -fopenmp-version=51 -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 2>&1 | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang -fc1 -emit-llvm -fopenmp -fopenmp-version=51 -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90:4:10: error: CHECK: expected string not found in input
! CHECK: not yet implemented: Unhandled clause allocate in omp.parallel
^
<stdin>:1:1: note: scanning from here
error: Semantic errors in /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
^
<stdin>:1:101: note: possible intended match here
error: Semantic errors in /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
^
Input file: <stdin>
Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: error: Semantic errors in /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
check:4'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:4'1 ? possible intended match
2: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90:7:7: error: Cannot parse module file for module 'omp_lib': Source file 'omp_lib.mod' was not found
check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: use omp_lib
check:4'0 ~~~~~~~~~~~~~
4: ^^^^^^^
check:4'0 ~~~~~~~~~
5: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90:11:48: error: Must have INTEGER type, but is REAL(4)
check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: !$omp parallel private(x) allocate(allocator(omp_default_mem_alloc): x)
check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7: ^^^^^^^^^^^^^^^^^^^^^
check:4'0 ~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/121356
More information about the flang-commits
mailing list