[flang-commits] [flang] [flang][CodeGen] Fix address space mismatch for CUF globals in AddrOfOpConversion (PR #190408)

via flang-commits flang-commits at lists.llvm.org
Fri Apr 3 14:34:32 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 4131 tests passed
* 202 tests skipped
* 4 tests failed

## Failed Tests
(click on a test name to see its output)

### Flang
<details>
<summary>Flang.Fir/convert-to-llvm.fir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
fir-opt --split-input-file --fir-to-llvm-ir="target=x86_64-unknown-linux-gnu" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# executed command: fir-opt --split-input-file --fir-to-llvm-ir=target=x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# 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/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# note: command had no output on stdout or stderr
# RUN: at line 2
fir-opt --split-input-file --fir-to-llvm-ir="target=aarch64-unknown-linux-gnu" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# executed command: fir-opt --split-input-file --fir-to-llvm-ir=target=aarch64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# 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/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# note: command had no output on stdout or stderr
# RUN: at line 3
fir-opt --split-input-file --fir-to-llvm-ir="target=i386-unknown-linux-gnu" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# executed command: fir-opt --split-input-file --fir-to-llvm-ir=target=i386-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# 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/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# note: command had no output on stdout or stderr
# RUN: at line 4
fir-opt --split-input-file --fir-to-llvm-ir="target=powerpc64le-unknown-linux-gnu" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# executed command: fir-opt --split-input-file --fir-to-llvm-ir=target=powerpc64le-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# 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/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# note: command had no output on stdout or stderr
# RUN: at line 5
fir-opt --split-input-file --fir-to-llvm-ir="target=x86_64-pc-win32" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# executed command: fir-opt --split-input-file --fir-to-llvm-ir=target=x86_64-pc-win32 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# 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/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-COMDAT,GENERIC
# note: command had no output on stdout or stderr
# RUN: at line 6
fir-opt --split-input-file --fir-to-llvm-ir="target=aarch64-apple-darwin" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-NO-COMDAT,GENERIC
# executed command: fir-opt --split-input-file --fir-to-llvm-ir=target=aarch64-apple-darwin /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# 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/Fir/convert-to-llvm.fir --check-prefixes=CHECK,CHECK-NO-COMDAT,GENERIC
# note: command had no output on stdout or stderr
# RUN: at line 7
fir-opt --split-input-file --fir-to-llvm-ir="target=amdgcn-amd-amdhsa, datalayout=e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=CHECK,AMDGPU /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# executed command: fir-opt --split-input-file '--fir-to-llvm-ir=target=amdgcn-amd-amdhsa, datalayout=e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9' /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir:78:8: error: 'llvm.mlir.addressof' op pointer address space must match address space of the referenced global or alias
# |   %0 = fir.address_of(@symbol) : !fir.ref<i64>
# |        ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir:78:8: note: see current operation: %0 = "llvm.mlir.addressof"() <{global_name = @symbol}> : () -> !llvm.ptr
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=CHECK,AMDGPU /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir:87:11: error: CHECK: expected string not found in input
# | // CHECK: %[[ADDROF:.*]] = llvm.mlir.addressof @[[SYMBOL:.*]] : !llvm.ptr
# |           ^
# | <stdin>:28:69: note: scanning from here
# |  llvm.mlir.global weak @w_i86(86 : i32) {addr_space = 1 : i32} : i32
# |                                                                     ^
# | <stdin>:43:2: note: possible intended match here
# |  %0 = llvm.mlir.constant(1 : i32) : i32
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Fir/convert-to-llvm.fir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            23:  llvm.mlir.global common @C_i511(0 : i32) {addr_space = 1 : i32} : i32 
# |            24: } 
# |            25:  
# |            26: // ----- 
# |            27: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, !llvm.ptr<1> = dense<64> : vector<4xi64>, !llvm.ptr<2> = dense<32> : vector<4xi64>, !llvm.ptr<3> = dense<32> : vector<4xi64>, !llvm.ptr<4> = dense<64> : vector<4xi64>, !llvm.ptr<5> = dense<32> : vector<4xi64>, !llvm.ptr<6> = dense<32> : vector<4xi64>, !llvm.ptr<7> = dense<[160, 256, 256, 32]> : vector<4xi64>, !llvm.ptr<8> = dense<128> : vector<4xi64>, !llvm.ptr<9> = dense<[192, 256, 256, 32]> : vector<4xi64>, i64 = dense<64> : vector<2xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little", "dlti.legal_int_widths" = array<i32: 32, 64>, "dlti.stack_alignment" = 32 : i64, "dlti.alloca_memory_space" = 5 : ui64, "dlti.global_memory_space" = 1 : ui64>, llvm.data_layout = "e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9", llvm.target_triple = "amdgcn-amd-amdhsa,"} { 
# |            28:  llvm.mlir.global weak @w_i86(86 : i32) {addr_space = 1 : i32} : i32 
# | check:87'0                                                                         X error: no match found
# |            29: } 
# | check:87'0     ~~
# |            30:  
# | check:87'0     ~
# |            31: // ----- 
# | check:87'0     ~~~~~~~~~
# |            32: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, !llvm.ptr<1> = dense<64> : vector<4xi64>, !llvm.ptr<2> = dense<32> : vector<4xi64>, !llvm.ptr<3> = dense<32> : vector<4xi64>, !llvm.ptr<4> = dense<64> : vector<4xi64>, !llvm.ptr<5> = dense<32> : vector<4xi64>, !llvm.ptr<6> = dense<32> : vector<4xi64>, !llvm.ptr<7> = dense<[160, 256, 256, 32]> : vector<4xi64>, !llvm.ptr<8> = dense<128> : vector<4xi64>, !llvm.ptr<9> = dense<[192, 256, 256, 32]> : vector<4xi64>, i64 = dense<64> : vector<2xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little", "dlti.legal_int_widths" = array<i32: 32, 64>, "dlti.stack_alignment" = 32 : i64, "dlti.alloca_memory_space" = 5 : ui64, "dlti.global_memory_space" = 1 : ui64>, llvm.data_layout = "e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9", llvm.target_triple = "amdgcn-amd-amdhsa,"} { 
# | check:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            33:  llvm.mlir.global linkonce @w_i86(86 : i32) comdat(@__llvm_comdat::@w_i86) {addr_space = 1 : i32} : i32 
# | check:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            38:  
# | check:87'0     ~
# |            39: // ----- 
# | check:87'0     ~~~~~~~~~
# |            40: // ----- 
# | check:87'0     ~~~~~~~~~
# |            41: module attributes {dlti.dl_spec = #dlti.dl_spec<!llvm.ptr = dense<64> : vector<4xi64>, !llvm.ptr<1> = dense<64> : vector<4xi64>, !llvm.ptr<2> = dense<32> : vector<4xi64>, !llvm.ptr<3> = dense<32> : vector<4xi64>, !llvm.ptr<4> = dense<64> : vector<4xi64>, !llvm.ptr<5> = dense<32> : vector<4xi64>, !llvm.ptr<6> = dense<32> : vector<4xi64>, !llvm.ptr<7> = dense<[160, 256, 256, 32]> : vector<4xi64>, !llvm.ptr<8> = dense<128> : vector<4xi64>, !llvm.ptr<9> = dense<[192, 256, 256, 32]> : vector<4xi64>, i64 = dense<64> : vector<2xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 = dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : vector<2xi64>, "dlti.endianness" = "little", "dlti.legal_int_widths" = array<i32: 32, 64>, "dlti.stack_alignment" = 32 : i64, "dlti.alloca_memory_space" = 5 : ui64, "dlti.global_memory_space" = 1 : ui64>, llvm.data_layout = "e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9", llvm.target_triple = "amdgcn-amd-amdhsa,"} { 
# | check:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            42:  llvm.mlir.global internal @_QEmultiarray() {addr_space = 1 : i32} : !llvm.array<32 x array<32 x i32>> { 
# | check:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            43:  %0 = llvm.mlir.constant(1 : i32) : i32 
# | check:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:87'1      ?                                       possible intended match
# |            44:  %1 = llvm.mlir.undef : !llvm.array<32 x array<32 x i32>> 
# | check:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            45:  %2 = llvm.mlir.constant(dense<1> : vector<32x32xi32>) : !llvm.array<32 x array<32 x i32>> 
# | check:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            46:  llvm.return %2 : !llvm.array<32 x array<32 x i32>> 
# | check:87'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            47:  } 
# | check:87'0     ~~~
# |            48: } 
# | check:87'0     ~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Integration/OpenMP/target-use-device-nested.f90</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 13
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple amdgcn-amd-amdhsa -emit-llvm -fopenmp -fopenmp-version=50 -fopenmp-is-target-device /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/target-use-device-nested.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/target-use-device-nested.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple amdgcn-amd-amdhsa -emit-llvm -fopenmp -fopenmp-version=50 -fopenmp-is-target-device /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/target-use-device-nested.f90 -o -
# .---command stderr------------
# | warning: OpenMP support for version 50 in flang is still incomplete
# | loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/target-use-device-nested.f90":24:1): error: 'llvm.mlir.addressof' op pointer address space must match address space of the referenced global or alias
# | error: Lowering to LLVM IR failed
# | flang: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Constants.cpp:1453: llvm::ConstantAggregate::ConstantAggregate(Type *, ValueTy, ArrayRef<Constant *>, AllocInfo): Assertion `V[I]->getType() == ST->getTypeAtIndex(I) && "Initializer for struct element doesn't match!"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple amdgcn-amd-amdhsa -emit-llvm -fopenmp -fopenmp-version=50 -fopenmp-is-target-device /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/target-use-device-nested.f90 -o -
# |  #0 0x00000000091dd0d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000091d9f31 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000091ddef1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007ff133c7a330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007ff133cd3b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007ff133c7a27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007ff133c5d8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007ff133c5d81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007ff133c70517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x00000000111a333a operator[] /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:248:7
# | #10 0x00000000111a333a llvm::ConstantAggregate::ConstantAggregate(llvm::Type*, llvm::Value::ValueTy, llvm::ArrayRef<llvm::Constant*>, llvm::User::AllocInfo) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Constants.cpp:1452:14
# | #11 0x00000000111a454d isOpaque /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:338:69
# | #12 0x00000000111a454d llvm::ConstantStruct::ConstantStruct(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>, llvm::User::AllocInfo) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Constants.cpp:1526:14
# | #13 0x00000000111b7298 getType /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Value.h:255:34
# | #14 0x00000000111b7298 getType /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Constants.h:648:36
# | #15 0x00000000111b7298 llvm::ConstantUniqueMap<llvm::ConstantStruct>::create(llvm::StructType*, llvm::ConstantAggrKeyType<llvm::ConstantStruct>, std::pair<unsigned int, std::pair<llvm::StructType*, llvm::ConstantAggrKeyType<llvm::ConstantStruct>>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/ConstantsContext.h:623:20
# | #16 0x00000000111a49d8 llvm::ConstantUniqueMap<llvm::ConstantStruct>::getOrCreate(llvm::StructType*, llvm::ConstantAggrKeyType<llvm::ConstantStruct>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/ConstantsContext.h:643:12
# | #17 0x0000000011179044 llvm::ConstantFoldInsertValueInstruction(llvm::Constant*, llvm::Constant*, llvm::ArrayRef<unsigned int>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/ConstantFold.cpp:0:12
# | #18 0x000000000757ee2c llvm::IRBuilderBase::CreateInsertValue(llvm::Value*, llvm::Value*, llvm::ArrayRef<unsigned int>, llvm::Twine const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2640:26
# | #19 0x000000000b854d8b convertOperationImpl(mlir::Operation&, llvm::IRBuilderBase&, mlir::LLVM::ModuleTranslation&) /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/LLVMIR/LLVMConversions.inc:214:55
# | #20 0x000000000d62b45b mlir::LLVM::ModuleTranslation::convertOperation(mlir::Operation&, llvm::IRBuilderBase&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1005:7
# | #21 0x000000000d62d433 mlir::LLVM::ModuleTranslation::convertGlobalsAndAliases() /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1329:13
# | #22 0x000000000d637a3c mlir::translateModuleToLLVMIR(mlir::Operation*, llvm::LLVMContext&, llvm::StringRef, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:2498:7
# | #23 0x000000000923ea95 release /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:217:16
# | #24 0x000000000923ea95 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:191:12
# | #25 0x000000000923ea95 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:243:61
# | #26 0x000000000923ea95 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:414:51
# | #27 0x000000000923ea95 Fortran::frontend::CodeGenAction::generateLLVMIR() /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Frontend/FrontendActions.cpp:809:14
# | #28 0x0000000009243280 Fortran::frontend::CodeGenAction::executeAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Frontend/FrontendActions.cpp:0:5
# | #29 0x0000000009233d4c setChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:306:13
# | #30 0x0000000009233d4c operator= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:221:5
# | #31 0x0000000009233d4c Error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:198:11
# | #32 0x0000000009233d4c Fortran::frontend::FrontendAction::execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Frontend/FrontendAction.cpp:124:10
# | #33 0x000000000921ac22 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #34 0x000000000921ac22 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #35 0x000000000921ac22 Fortran::frontend::CompilerInstance::executeAction(Fortran::frontend::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Frontend/CompilerInstance.cpp:191:23
# | #36 0x0000000009238afa Fortran::frontend::executeCompilerInvocation(Fortran::frontend::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:237:25
# | #37 0x00000000074ad76c fc1_main(llvm::ArrayRef<char const*>, char const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/tools/flang-driver/fc1_main.cpp:90:13
# | #38 0x00000000074ab97a executeFC1Tool /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/tools/flang-driver/driver.cpp:67:12
# | #39 0x00000000074ab97a main /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/tools/flang-driver/driver.cpp:133:14
# | #40 0x00007ff133c5f1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #41 0x00007ff133c5f28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #42 0x00000000074aa6a5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang+0x74aa6a5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/target-use-device-nested.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/Integration/OpenMP/target-use-device-nested.f90
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Flang.Integration/OpenMP/task-target-device.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple amdgcn-amd-amdhsa -emit-llvm -fopenmp -fopenmp-version=50 -fopenmp-is-target-device /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/task-target-device.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/task-target-device.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -triple amdgcn-amd-amdhsa -emit-llvm -fopenmp -fopenmp-version=50 -fopenmp-is-target-device /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/task-target-device.f90 -o -
# .---command stderr------------
# | warning: OpenMP support for version 50 in flang is still incomplete
# | loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/OpenMP/task-target-device.f90":21:14): error: 'llvm.mlir.addressof' op pointer address space must match address space of the referenced global or alias
# | error: Lowering to LLVM IR failed
# `-----------------------------
# 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/Integration/OpenMP/task-target-device.f90
# note: command had no output on stdout or stderr

--

```
</details>
<details>
<summary>Flang.Integration/amdgpu-target-desc-cast-to-global-addrspace.f90</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -triple amdgcn-amd-amdhsa -target-cpu gfx908 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.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/amdgpu-target-desc-cast-to-global-addrspace.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -triple amdgcn-amd-amdhsa -target-cpu gfx908 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90 -o -
# .---command stderr------------
# | loc("/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90":12:1): error: 'llvm.mlir.addressof' op pointer address space must match address space of the referenced global or alias
# | error: Lowering to LLVM IR failed
# | flang: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Constants.cpp:1453: llvm::ConstantAggregate::ConstantAggregate(Type *, ValueTy, ArrayRef<Constant *>, AllocInfo): Assertion `V[I]->getType() == ST->getTypeAtIndex(I) && "Initializer for struct element doesn't match!"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -emit-llvm -triple amdgcn-amd-amdhsa -target-cpu gfx908 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90 -o -
# |  #0 0x00000000091dd0d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000091d9f31 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000091ddef1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007803a09c6330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007803a0a1fb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007803a09c627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007803a09a98ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007803a09a981b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007803a09bc517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x00000000111a333a operator[] /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:248:7
# | #10 0x00000000111a333a llvm::ConstantAggregate::ConstantAggregate(llvm::Type*, llvm::Value::ValueTy, llvm::ArrayRef<llvm::Constant*>, llvm::User::AllocInfo) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Constants.cpp:1452:14
# | #11 0x00000000111a454d isOpaque /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/DerivedTypes.h:338:69
# | #12 0x00000000111a454d llvm::ConstantStruct::ConstantStruct(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>, llvm::User::AllocInfo) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Constants.cpp:1526:14
# | #13 0x00000000111b7298 getType /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Value.h:255:34
# | #14 0x00000000111b7298 getType /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Constants.h:648:36
# | #15 0x00000000111b7298 llvm::ConstantUniqueMap<llvm::ConstantStruct>::create(llvm::StructType*, llvm::ConstantAggrKeyType<llvm::ConstantStruct>, std::pair<unsigned int, std::pair<llvm::StructType*, llvm::ConstantAggrKeyType<llvm::ConstantStruct>>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/ConstantsContext.h:623:20
# | #16 0x00000000111a49d8 llvm::ConstantUniqueMap<llvm::ConstantStruct>::getOrCreate(llvm::StructType*, llvm::ConstantAggrKeyType<llvm::ConstantStruct>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/ConstantsContext.h:643:12
# | #17 0x0000000011179044 llvm::ConstantFoldInsertValueInstruction(llvm::Constant*, llvm::Constant*, llvm::ArrayRef<unsigned int>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/ConstantFold.cpp:0:12
# | #18 0x000000000757ee2c llvm::IRBuilderBase::CreateInsertValue(llvm::Value*, llvm::Value*, llvm::ArrayRef<unsigned int>, llvm::Twine const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2640:26
# | #19 0x000000000b854d8b convertOperationImpl(mlir::Operation&, llvm::IRBuilderBase&, mlir::LLVM::ModuleTranslation&) /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/Dialect/LLVMIR/LLVMConversions.inc:214:55
# | #20 0x000000000d62b45b mlir::LLVM::ModuleTranslation::convertOperation(mlir::Operation&, llvm::IRBuilderBase&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1005:7
# | #21 0x000000000d62d433 mlir::LLVM::ModuleTranslation::convertGlobalsAndAliases() /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1329:13
# | #22 0x000000000d637a3c mlir::translateModuleToLLVMIR(mlir::Operation*, llvm::LLVMContext&, llvm::StringRef, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:2498:7
# | #23 0x000000000923ea95 release /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:217:16
# | #24 0x000000000923ea95 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:191:12
# | #25 0x000000000923ea95 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:243:61
# | #26 0x000000000923ea95 operator= /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:414:51
# | #27 0x000000000923ea95 Fortran::frontend::CodeGenAction::generateLLVMIR() /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Frontend/FrontendActions.cpp:809:14
# | #28 0x0000000009243280 Fortran::frontend::CodeGenAction::executeAction() /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Frontend/FrontendActions.cpp:0:5
# | #29 0x0000000009233d4c setChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:306:13
# | #30 0x0000000009233d4c operator= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:221:5
# | #31 0x0000000009233d4c Error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:198:11
# | #32 0x0000000009233d4c Fortran::frontend::FrontendAction::execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Frontend/FrontendAction.cpp:124:10
# | #33 0x000000000921ac22 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #34 0x000000000921ac22 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #35 0x000000000921ac22 Fortran::frontend::CompilerInstance::executeAction(Fortran::frontend::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/Frontend/CompilerInstance.cpp:191:23
# | #36 0x0000000009238afa Fortran::frontend::executeCompilerInvocation(Fortran::frontend::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:237:25
# | #37 0x00000000074ad76c fc1_main(llvm::ArrayRef<char const*>, char const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/tools/flang-driver/fc1_main.cpp:90:13
# | #38 0x00000000074ab97a executeFC1Tool /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/tools/flang-driver/driver.cpp:67:12
# | #39 0x00000000074ab97a main /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/tools/flang-driver/driver.cpp:133:14
# | #40 0x00007803a09ab1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #41 0x00007803a09ab28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #42 0x00000000074aa6a5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang+0x74aa6a5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/amdgpu-target-desc-cast-to-global-addrspace.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/Integration/amdgpu-target-desc-cast-to-global-addrspace.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/190408


More information about the flang-commits mailing list