[flang-commits] [flang] [mlir] [flang][AIX] BIND(C) derived type alignment for AIX (PR #121505)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Tue Jan 14 05:52:21 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64-flang-aix` running on `ppc64-flang-aix-test` while building `flang` at step 6 "test-build-unified-tree-check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/201/builds/1315
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-flang) failure: test (failure)
******************** TEST 'Flang :: Lower/CUDA/cuda-cdevloc.cuf' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: bbc -emit-hlfir -fcuda /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/CUDA/cuda-cdevloc.cuf -o - | /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/bin/FileCheck /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/CUDA/cuda-cdevloc.cuf
+ bbc -emit-hlfir -fcuda /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/CUDA/cuda-cdevloc.cuf -o -
+ /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/bin/FileCheck /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/CUDA/cuda-cdevloc.cuf
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/CUDA/cuda-cdevloc.cuf:14:10: error: CHECK: expected string not found in input
! CHECK: %[[CDEVPTR:.*]] = fir.alloca !fir.type<_QM__fortran_builtinsT__builtin_c_devptr{cptr:!fir.type<_QM__fortran_builtinsT__builtin_c_ptr{__address:i64}>}>
^
<stdin>:24:56: note: scanning from here
%17 = fir.embox %16 : (!fir.ref<i32>) -> !fir.box<i32>
^
<stdin>:25:2: note: possible intended match here
%18 = fir.alloca !fir.type<_QM__fortran_builtinsT__builtin_c_devptr<{cptr:!fir.type<_QM__fortran_builtinsT__builtin_c_ptr{__address:i64}>}>>
^
Input file: <stdin>
Check file: /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/flang/test/Lower/CUDA/cuda-cdevloc.cuf
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
19: %14 = fir.convert %13 : (!fir.ref<!fir.char<1,138>>) -> !fir.ref<i8>
20: %c6_i32_0 = arith.constant 6 : i32
21: %15 = fir.call @_FortranAioBeginExternalListOutput(%c6_i32, %14, %c6_i32_0) fastmath<contract> : (i32, !fir.ref<i8>, i32) -> !fir.ref<i8>
22: %c1 = arith.constant 1 : index
23: %16 = hlfir.designate %2#0 (%c1) : (!fir.ref<!fir.array<10xi32>>, index) -> !fir.ref<i32>
24: %17 = fir.embox %16 : (!fir.ref<i32>) -> !fir.box<i32>
check:14'0 X error: no match found
25: %18 = fir.alloca !fir.type<_QM__fortran_builtinsT__builtin_c_devptr<{cptr:!fir.type<_QM__fortran_builtinsT__builtin_c_ptr{__address:i64}>}>>
check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:14'1 ? possible intended match
26: %19 = fir.field_index cptr, !fir.type<_QM__fortran_builtinsT__builtin_c_devptr<{cptr:!fir.type<_QM__fortran_builtinsT__builtin_c_ptr{__address:i64}>}>>
check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27: %20 = fir.coordinate_of %18, %19 : (!fir.ref<!fir.type<_QM__fortran_builtinsT__builtin_c_devptr<{cptr:!fir.type<_QM__fortran_builtinsT__builtin_c_ptr{__address:i64}>}>>>, !fir.field) -> !fir.ref<!fir.type<_QM__fortran_builtinsT__builtin_c_ptr{__address:i64}>>
check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28: %21 = fir.field_index __address, !fir.type<_QM__fortran_builtinsT__builtin_c_ptr{__address:i64}>
check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29: %22 = fir.coordinate_of %20, %21 : (!fir.ref<!fir.type<_QM__fortran_builtinsT__builtin_c_ptr{__address:i64}>>, !fir.field) -> !fir.ref<i64>
check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30: %23 = fir.box_addr %17 : (!fir.box<i32>) -> !fir.ref<i32>
check:14'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
...
```
</details>
https://github.com/llvm/llvm-project/pull/121505
More information about the flang-commits
mailing list