[Mlir-commits] [mlir] [MLIR][TableGen] Fix ArrayRefParameter in struct format roundtrip (PR #189065)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Mar 27 10:59:38 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 7735 tests passed
* 604 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Transforms/debug-imported-entity.fir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
fir-opt --add-debug-info --mlir-print-debuginfo /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/debug-imported-entity.fir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/debug-imported-entity.fir
# executed command: fir-opt --add-debug-info --mlir-print-debuginfo /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/debug-imported-entity.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/Transforms/debug-imported-entity.fir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/debug-imported-entity.fir:30:11: error: CHECK: expected string not found in input
# | // CHECK: #[[SP:.+]] = #llvm.di_subprogram<recId = distinct[[[REC_ID]]]<>{{.*}}retainedNodes = #[[IMP_ENTITY]]>
# | ^
# | <stdin>:41:149: note: scanning from here
# | #di_imported_entity = #llvm.di_imported_entity<tag = DW_TAG_imported_module, scope = #di_subprogram, entity = #di_module, file = #di_file, line = 1>
# | ^
# | <stdin>:41:149: note: with "REC_ID" equal to "1"
# | #di_imported_entity = #llvm.di_imported_entity<tag = DW_TAG_imported_module, scope = #di_subprogram, entity = #di_module, file = #di_file, line = 1>
# | ^
# | <stdin>:41:149: note: with "IMP_ENTITY" equal to "di_imported_entity"
# | #di_imported_entity = #llvm.di_imported_entity<tag = DW_TAG_imported_module, scope = #di_subprogram, entity = #di_module, file = #di_file, line = 1>
# | ^
# | <stdin>:43:9: note: possible intended match here
# | #di_subprogram1 = #llvm.di_subprogram<recId = distinct[1]<>, id = distinct[3]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "test", linkageName = "test", file = #di_file1, line = 10, scopeLine = 10, subprogramFlags = Definition, type = #di_subroutine_type, retainedNodes = [#di_imported_entity]>
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Transforms/debug-imported-entity.fir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 36: #di_compile_unit = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_Fortran95, file = #di_file, producer = "flang version 23.0.0 (https://github.com/llvm/llvm-project 878de6ae87c563ee8e293cc4c9499046e02837f8)", isOptimized = false, emissionKind = Full>
# | 37: #di_subroutine_type = #llvm.di_subroutine_type<callingConvention = DW_CC_normal, types = #di_null_type>
# | 38: #di_module = #llvm.di_module<file = #di_file, scope = #di_compile_unit, name = "foo", line = 4>
# | 39: #di_subprogram = #llvm.di_subprogram<recId = distinct[1]<>, isRecSelf = true, id = distinct[2]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "test", linkageName = "test", file = #di_file1, line = 10, scopeLine = 10, subprogramFlags = Definition, type = #di_subroutine_type>
# | 40: #di_global_variable = #llvm.di_global_variable<scope = #di_module, name = "v1", linkageName = "_QMfooEv1", file = #di_file, line = 5, type = #di_basic_type, isDefined = true>
# | 41: #di_imported_entity = #llvm.di_imported_entity<tag = DW_TAG_imported_module, scope = #di_subprogram, entity = #di_module, file = #di_file, line = 1>
# | check:30'0 X error: no match found
# | check:30'1 with "REC_ID" equal to "1"
# | check:30'2 with "IMP_ENTITY" equal to "di_imported_entity"
# | 42: #di_global_variable_expression = #llvm.di_global_variable_expression<var = #di_global_variable>
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 43: #di_subprogram1 = #llvm.di_subprogram<recId = distinct[1]<>, id = distinct[3]<>, compileUnit = #di_compile_unit, scope = #di_file, name = "test", linkageName = "test", file = #di_file1, line = 10, scopeLine = 10, subprogramFlags = Definition, type = #di_subroutine_type, retainedNodes = [#di_imported_entity]>
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:30'3 ? possible intended match
# | 44: #di_global_variable1 = #llvm.di_global_variable<scope = #di_subprogram1, name = "xyz", linkageName = "_QFtestExyz", file = #di_file, line = 13, type = #di_basic_type, isDefined = true>
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 45: #loc13 = loc(fused<#di_subprogram1>[#loc7])
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 46: #di_global_variable_expression1 = #llvm.di_global_variable_expression<var = #di_global_variable1>
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 47: #loc14 = loc(fused<[#di_global_variable_expression]>[#loc1])
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 48: #loc15 = loc(fused<[#di_global_variable_expression1]>[#loc4])
# | check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 49:
# | check:30'0 ~
# | >>>>>>
# `-----------------------------
# 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/189065
More information about the Mlir-commits
mailing list