[Mlir-commits] [mlir] [mlir][Interfaces] Add generic pattern for region inlining (PR #176641)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Jan 18 03:28:06 PST 2026


github-actions[bot] wrote:

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

* 3419 tests passed
* 412 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.Dialect/Arith/int-range-narrowing.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe --arith-int-range-narrowing="int-bitwidths-supported=1,8,16,24,32" C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Arith\int-range-narrowing.mlir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Arith\int-range-narrowing.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' --arith-int-range-narrowing=int-bitwidths-supported=1,8,16,24,32 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Arith\int-range-narrowing.mlir'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Arith\int-range-narrowing.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Arith\int-range-narrowing.mlir:373:11: error: CHECK: expected string not found in input
# | // CHECK: %[[POS_I8:.*]] = arith.index_castui %[[POS]] : index to i8
# |           ^
# | <stdin>:191:86: note: scanning from here
# |  %2 = scf.for %arg0 = %c0 to %c16 step %c0 iter_args(%arg1 = %cst) -> (vector<4xf32>) {
# |                                                                                      ^
# | <stdin>:191:86: note: with "POS" equal to "0"
# |  %2 = scf.for %arg0 = %c0 to %c16 step %c0 iter_args(%arg1 = %cst) -> (vector<4xf32>) {
# |                                                                                      ^
# | <stdin>:192:2: note: possible intended match here
# |  %3 = arith.addi %0, %1 : index
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Arith\int-range-narrowing.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            186:  %c0 = arith.constant 0 : index 
# |            187:  %c16 = arith.constant 16 : index 
# |            188:  %cst = arith.constant dense<0.000000e+00> : vector<4xf32> 
# |            189:  %0 = test.with_bounds {smax = 1 : index, smin = 0 : index, umax = 1 : index, umin = 0 : index} : index 
# |            190:  %1 = test.with_bounds {smax = 0 : index, smin = -1 : index, umax = -1 : index, umin = 0 : index} : index 
# |            191:  %2 = scf.for %arg0 = %c0 to %c16 step %c0 iter_args(%arg1 = %cst) -> (vector<4xf32>) { 
# | check:373'0                                                                                          X~~ error: no match found
# | check:373'1                                                                                              with "POS" equal to "0"
# |            192:  %3 = arith.addi %0, %1 : index 
# | check:373'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:373'2      ?                               possible intended match
# |            193:  func.call @use(%3) : (index) -> () 
# | check:373'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            194:  scf.yield %arg1 : vector<4xf32> 
# | check:373'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            195:  } 
# | check:373'0     ~~~
# |            196:  return 
# | check:373'0     ~~~~~~~~
# |            197:  } 
# | check:373'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/176641


More information about the Mlir-commits mailing list