[Mlir-commits] [mlir] [mlir][SymbolTable] Handle unknown symbol users in SymbolUserMap (PR #227918)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Oct 6 05:02:09 PDT 2026


github-actions[bot] wrote:

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

* 9273 tests passed
* 654 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.Conversion/TosaToLinalg/tosa-to-linalg.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --split-input-file -pass-pipeline="builtin.module(func.func(tosa-to-linalg))" /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir -verify-diagnostics -o -| /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir --check-prefixes=CHECK,FINITE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --split-input-file '-pass-pipeline=builtin.module(func.func(tosa-to-linalg))' /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir -verify-diagnostics -o -
# 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/Conversion/TosaToLinalg/tosa-to-linalg.mlir --check-prefixes=CHECK,FINITE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir:2022:12: error: CHECK: expected string not found in input
# |  // CHECK: %[[INDICES:.+]] = "tosa.const"()
# |            ^
# | <stdin>:2105:44: note: scanning from here
# |  func.func @row_gather_i64_boundary_indices(%arg0: tensor<2x5x2xi16>) -> tensor<2x4x2xi16> {
# |                                            ^
# | <stdin>:2105:44: note: pattern attempts to capture variables: "INDICES"
# |  func.func @row_gather_i64_boundary_indices(%arg0: tensor<2x5x2xi16>) -> tensor<2x4x2xi16> {
# |                                            ^
# | <stdin>:2106:2: note: possible intended match here
# |  %0 = tosa.const values(dense<[[0, 3], [3, 1]]> : tensor<2x2xi64>) : () -> tensor<2x2xi64>
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            2100: } 
# |            2101:  
# |            2102: // ----- 
# |            2103: #map = affine_map<(d0, d1, d2) -> (d0, d1, d2)> 
# |            2104: module { 
# |            2105:  func.func @row_gather_i64_boundary_indices(%arg0: tensor<2x5x2xi16>) -> tensor<2x4x2xi16> { 
# | check:2022'0                                               {                                                    search range start (exclusive)
# | check:2022'1                                                                                                    error: no match found in search range
# | check:2022'2                                                                                                    pattern attempts to capture variables: "INDICES"
# |            2106:  %0 = tosa.const values(dense<[[0, 3], [3, 1]]> : tensor<2x2xi64>) : () -> tensor<2x2xi64> 
# | check:2022'3      ?                                                                                           possible intended match
# |            2107:  %1 = tosa.const values(dense<2> : tensor<1xi32>) : () -> tensor<1xi32> 
# |            2108:  %c0 = arith.constant 0 : index 
# |            2109:  %extracted = tensor.extract %1[%c0] : tensor<1xi32> 
# |            2110:  %2 = arith.index_cast %extracted : i32 to index 
# |            2111:  %3 = tensor.empty() : tensor<2x4x2xi16> 
# |               .
# |               .
# |               .
# |            2127: } 
# |            2128:  
# |            2129: // ----- 
# |            2130: #map = affine_map<(d0, d1, d2) -> (d0, d1, d2)> 
# |            2131: module { 
# |            2132:  func.func @row_gather_all_dynamic(%arg0: tensor<?x?x?xi8>, %arg1: tensor<?x?xi32>, %arg2: tensor<1xi32>) -> tensor<?x?x?xi8> { 
# | check:2022'4                                       }                                                                                               search range end (exclusive)
# |            2133:  %c0 = arith.constant 0 : index 
# |            2134:  %extracted = tensor.extract %arg2[%c0] : tensor<1xi32> 
# |            2135:  %0 = arith.index_cast %extracted : i32 to index 
# |            2136:  %c0_0 = arith.constant 0 : index 
# |            2137:  %dim = tensor.dim %arg0, %c0_0 : tensor<?x?x?xi8> 
# |               .
# |               .
# |               .
# | >>>>>>
# `-----------------------------
# 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/227918


More information about the Mlir-commits mailing list