[Mlir-commits] [mlir] [mlir][tosa] Support more float types in resource transpose folding (PR #213226)

LLVM Continuous Integration llvmlistbot at llvm.org
Thu Aug 6 02:04:43 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-s390x-linux` running on `systemz-1` while building `mlir` at step 6 "test-build-unified-tree-check-mlir".

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

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

```
Step 6 (test-build-unified-tree-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Dialect/Tosa/tosa-layerwise-constant-fold.mlir' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/buildbot/sandbox/buildbot/mlir-s390x-linux/build/bin/mlir-opt --split-input-file --tosa-layerwise-constant-fold /home/buildbot/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir | /home/buildbot/sandbox/buildbot/mlir-s390x-linux/build/bin/FileCheck /home/buildbot/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir
# executed command: /home/buildbot/sandbox/buildbot/mlir-s390x-linux/build/bin/mlir-opt --split-input-file --tosa-layerwise-constant-fold /home/buildbot/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir
# executed command: /home/buildbot/sandbox/buildbot/mlir-s390x-linux/build/bin/FileCheck /home/buildbot/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir
# .---command stderr------------
# | /home/buildbot/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir:235:26: error: CHECK-SAME{LITERAL}: expected string not found in input
# |  // CHECK-SAME{LITERAL}: values = dense<[[1.000000e+00, 3.000000e+00], [2.000000e+00, 4.000000e+00]]> : tensor<2x2xf16>
# |                          ^
# | <stdin>:149:24: note: scanning from here
# |  %0 = "tosa.const"() <{values = dense<[[3.576280e-06, 3.933910e-06], [3.814700e-06, 4.053120e-06]]> : tensor<2x2xf16>}> : () -> tensor<2x2xf16>
# |                        ^
# | /home/buildbot/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir:255:26: error: CHECK-SAME{LITERAL}: expected string not found in input
# |  // CHECK-SAME{LITERAL}: values = dense<[[1.000000e+00, 3.000000e+00], [2.000000e+00, 4.000000e+00]]> : tensor<2x2xbf16>
# |                          ^
# | <stdin>:157:24: note: scanning from here
# |  %0 = "tosa.const"() <{values = dense<[[-5.785640e-39, 3.000000e+00], [5.877470e-39, -5.877470e-39]]> : tensor<2x2xbf16>}> : () -> tensor<2x2xbf16>
# |                        ^
# | /home/buildbot/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir:275:26: error: CHECK-SAME{LITERAL}: expected string not found in input
# |  // CHECK-SAME{LITERAL}: values = dense<[[1.000000e+00, 3.000000e+00], [2.000000e+00, 4.000000e+00]]> : tensor<2x2xf64>
# |                          ^
# | <stdin>:165:24: note: scanning from here
# |  %0 = "tosa.const"() <{values = dense<[[3.038650e-319, 1.043470e-320], [3.162020e-322, 2.055310e-320]]> : tensor<2x2xf64>}> : () -> tensor<2x2xf64>
# |                        ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbot/sandbox/buildbot/mlir-s390x-linux/llvm-project/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           144: } 
# |           145:  
# |           146: // ----- 
# |           147: module { 
# |           148:  func.func @transpose_fold_dense_resource_f16() -> tensor<2x2xf16> { 
# |           149:  %0 = "tosa.const"() <{values = dense<[[3.576280e-06, 3.933910e-06], [3.814700e-06, 4.053120e-06]]> : tensor<2x2xf16>}> : () -> tensor<2x2xf16> 
# | same:235'0                           {                                                                                                                           search range start (exclusive)
# | same:235'1                                                                                                                                                       error: no match found in search range
# |           150:  return %0 : tensor<2x2xf16> 
# |           151:  } 
# |           152: } 
...

```

</details>

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


More information about the Mlir-commits mailing list