[Mlir-commits] [mlir] [mlir][bufferization] Add XFAIL test for bufferize-function-boundaries returning unranked memref (PR #176746)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Mar 19 06:28:14 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 7595 tests passed
* 603 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Dialect/Tensor/one-shot-bufferize.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 /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/Tensor/one-shot-bufferize.mlir -one-shot-bufferize="bufferize-function-boundaries" -drop-equivalent-buffer-results -split-input-file | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/Tensor/one-shot-bufferize.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/Tensor/one-shot-bufferize.mlir -one-shot-bufferize=bufferize-function-boundaries -drop-equivalent-buffer-results -split-input-file
# 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/Dialect/Tensor/one-shot-bufferize.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/Tensor/one-shot-bufferize.mlir:515:16: error: CHECK-SAME: expected string not found in input
# | // CHECK-SAME: %[[A:.*]]: index, %[[B:.*]]: index) -> (memref<?xf32, strided<[?], offset: ?>>, index) {
# | ^
# | <stdin>:325:82: note: scanning from here
# | func.func @mult_return(%arg0: memref<?xf32, strided<[?], offset: ?>>, %arg1: i1, %arg2: index, %arg3: index) -> (memref<10xf32, strided<[?], offset: ?>>, index) {
# | ^
# | <stdin>:325:83: note: possible intended match here
# | func.func @mult_return(%arg0: memref<?xf32, strided<[?], offset: ?>>, %arg1: i1, %arg2: index, %arg3: index) -> (memref<10xf32, strided<[?], offset: ?>>, index) {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/Tensor/one-shot-bufferize.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 320: ^bb1: // pred: ^bb0
# | 321: return %arg2 : index
# | 322: ^bb2: // pred: ^bb0
# | 323: return %arg3 : index
# | 324: }
# | 325: func.func @mult_return(%arg0: memref<?xf32, strided<[?], offset: ?>>, %arg1: i1, %arg2: index, %arg3: index) -> (memref<10xf32, strided<[?], offset: ?>>, index) {
# | same:515'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | same:515'1 ? possible intended match
# | 326: %0 = call @mult_return_callee(%arg0, %arg1, %arg2, %arg3) : (memref<?xf32, strided<[?], offset: ?>>, i1, index, index) -> index
# | same:515'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 327: %cast = memref.cast %arg0 : memref<?xf32, strided<[?], offset: ?>> to memref<10xf32, strided<[?], offset: ?>>
# | same:515'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 328: return %cast, %0 : memref<10xf32, strided<[?], offset: ?>>, index
# | same:515'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 329: }
# | same:515'0 ~~~
# | 330: }
# | same:515'0 ~~
# | 331:
# | same:515'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/176746
More information about the Mlir-commits
mailing list