[flang-commits] [flang] [llvm] [mlir] [Flang][OpenMP] Fix Fortran automap handling (PR #162501)
via flang-commits
flang-commits at lists.llvm.org
Fri Jul 10 07:14:31 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 8491 tests passed
* 559 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Target/LLVMIR/omptarget-declare-target-all-device-types-device.mlir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/omptarget-declare-target-all-device-types-device.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/omptarget-declare-target-all-device-types-device.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/omptarget-declare-target-all-device-types-device.mlir
# .---command stderr------------
# | Alias must point to a definition
# | ptr @ihe_decl_tgt_entry
# `-----------------------------
# 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/mlir/test/Target/LLVMIR/omptarget-declare-target-all-device-types-device.mlir
# .---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/mlir/test/Target/LLVMIR/omptarget-declare-target-all-device-types-device.mlir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>MLIR.Target/LLVMIR/omptarget-declare-target-llvm-host.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/omptarget-declare-target-llvm-host.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/omptarget-declare-target-llvm-host.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-llvmir /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/omptarget-declare-target-llvm-host.mlir
# 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/mlir/test/Target/LLVMIR/omptarget-declare-target-llvm-host.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/omptarget-declare-target-llvm-host.mlir:136:16: error: CHECK-DAG: expected string not found in input
# | // CHECK-DAG: @_QFEinternal_enter = internal global i32 7
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'LLVMDialectModule'
# | ^
# | <stdin>:20:1: note: possible intended match here
# | @_QFEinternal_enter = dso_local global i32 7
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/LLVMIR/omptarget-declare-target-llvm-host.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = 'LLVMDialectModule'
# | dag:136'0 { search range start (exclusive)
# | dag:136'1 error: no match found in search range
# | 2: source_filename = "LLVMDialectModule"
# | 3: target triple = "x86_64-unknown-linux-gnu"
# | 4:
# | 5: %struct.__tgt_offload_entry = type { i64, i16, i16, i32, ptr, ptr, i64, i64, ptr }
# | 6:
# | .
# | .
# | .
# | 15: @_QMtest_0Edata_int = global i32 10
# | 16: @_QMtest_0Edata_int_clauseless_to = global i32 1
# | 17: @_QMtest_0Edata_int_clauseless_enter = global i32 1
# | 18: @_QMtest_0Edata_int_to = global i32 5
# | 19: @_QMtest_0Edata_int_enter = global i32 5
# | 20: @_QFEinternal_enter = dso_local global i32 7
# | dag:136'2 ? possible intended match
# | 21: @_QMtest_0Ept1 = global { ptr, i64, i32, i8, i8, i8, i8 } { ptr null, i64 4, i32 20180515, i8 0, i8 9, i8 1, i8 0 }
# | 22: @_QMtest_0Ept2_tar = global i32 5
# | 23: @_QMtest_0Earray_1d_decl_tgt_ref_ptr = weak global ptr @_QMtest_0Earray_1d, align 8
# | 24: @_QMtest_0Earray_2d_decl_tgt_ref_ptr = weak global ptr @_QMtest_0Earray_2d, align 8
# | 25: @_QMtest_0Edata_extended_link_1_decl_tgt_ref_ptr = weak global ptr @_QMtest_0Edata_extended_link_1, align 8
# | .
# | .
# | .
# | 96: !27 = !{ptr @.offloading.entry_name.10}
# | 97: !28 = !{ptr @.offloading.entry_name.11}
# | 98: !29 = !{ptr @.offloading.entry_name.12}
# | 99: !30 = !{ptr @.offloading.entry_name.13}
# | 100: !31 = !{ptr @.offloading.entry_name.14}
# | 101: !32 = !{ptr @.offloading.entry_name.15}
# | dag:136'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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/162501
More information about the flang-commits
mailing list