[Mlir-commits] [mlir] [mlir][tosa] Lower ROW_GATHER to Linalg (PR #225417)

LLVM Continuous Integration llvmlistbot at llvm.org
Sat Oct 10 12:52:34 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ppc64le-mlir-rhel-clang` running on `ppc64le-mlir-rhel-test` while building `mlir` at step 6 "test-build-check-mlir-build-only-check-mlir".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/129/builds/54588

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Conversion/TosaToLinalg/tosa-to-linalg.mlir' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/bin/mlir-opt --split-input-file -pass-pipeline="builtin.module(func.func(tosa-to-linalg))" /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir -verify-diagnostics -o -| /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir --check-prefixes=CHECK,FINITE
# executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/bin/mlir-opt --split-input-file '-pass-pipeline=builtin.module(func.func(tosa-to-linalg))' /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir -verify-diagnostics -o -
# executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/llvm-project/mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir --check-prefixes=CHECK,FINITE
# .---command stderr------------
# | /home/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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/buildbots/llvm-external-buildbots/workers/ppc64le-mlir-rhel-test/ppc64le-mlir-rhel-clang-build/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> 
# |               .
...

```

</details>

https://github.com/llvm/llvm-project/pull/225417


More information about the Mlir-commits mailing list