[Mlir-commits] [mlir] [mlir] Notify rewriter listeners when hoisting constants (PR #233776)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Oct 20 05:54:29 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 4331 tests passed
* 466 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.Dialect/Tosa/constant_folding.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe --split-input-file --test-single-fold C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Tosa\constant_folding.mlir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Tosa\constant_folding.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' --split-input-file --test-single-fold 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Tosa\constant_folding.mlir'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc0000374
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Tosa\constant_folding.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Tosa\constant_folding.mlir:742:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: @fold_sub_splat_ui8
# |                 ^
# | <stdin>:550:49: note: scanning from here
# |  func.func @fold_sub_splat_i32_negative_overflow() -> tensor<10xi32> {
# |                                                 ^
# | <stdin>:551:5: note: possible intended match here
# |  %0 = tosa.const values(dense<-2147483648> : tensor<10xi32>) : () -> tensor<10xi
# |     ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Tosa\constant_folding.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            545:  } 
# |            546: } 
# |            547:  
# |            548: // ----- 
# |            549: module { 
# |            550:  func.func @fold_sub_splat_i32_negative_overflow() -> tensor<10xi32> { 
# | label:742'0                                                    {                         search range start (exclusive)
# | label:742'1                                                                              error: no match found in search range
# |            551:  %0 = tosa.const values(dense<-2147483648> : tensor<10xi32>) : () -> tensor<10xi
# | label:742'2         ?                                                                             possible intended match
# | label:742'3                                                                                     } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/233776


More information about the Mlir-commits mailing list