[Mlir-commits] [mlir] [vector][multi_reduction] Add unrolling for vector.multi_reduction (PR #185033)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Mar 6 08:35:53 PST 2026


github-actions[bot] wrote:

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

* 3524 tests passed
* 416 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.python/dialects/transform_vector_ext.py</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
"C:/Python312/python.exe" C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py
# executed command: C:/Python312/python.exe 'C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py'
# .---command stderr------------
# | Traceback (most recent call last):
# |   File "C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py", line 75, in <module>
# |     @run_apply_patterns
# |      ^^^^^^^^^^^^^^^^^^
# |   File "C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py", line 20, in run_apply_patterns
# |     f()
# |   File "C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py", line 112, in enum_configurable_patterns
# |     vector.ApplyMultiReductionUnrollingPatternsOp(
# |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | AttributeError: module 'mlir.dialects.transform.vector' has no attribute 'ApplyMultiReductionUnrollingPatternsOp'. Did you mean: 'ApplyMultiReductionLoweringPatternsOp'?
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py:77:11: error: CHECK: expected string not found in input
# |  # CHECK: transform.apply_patterns.vector.lower_contraction
# |           ^
# | <stdin>:32:88: note: scanning from here
# |  transform.apply_patterns.vector.flatten_vector_transfer_ops target_vector_bitwidth = 1
# |                                                                                        ^
# | <stdin>:33:7: note: possible intended match here
# |  } : !transform.any_op
# |       ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\transform_vector_ext.py
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            27:  transform.sequence failures(propagate) { 
# |            28:  ^bb0(%arg0: !transform.any_op): 
# |            29:  apply_patterns to %arg0 { 
# |            30:  transform.apply_patterns.vector.lower_transfer max_transfer_rank = 4 
# |            31:  transform.apply_patterns.vector.transfer_to_scf max_transfer_rank = 3 full_unroll = true 
# |            32:  transform.apply_patterns.vector.flatten_vector_transfer_ops target_vector_bitwidth = 1 
# | check:77'0                                                                                            X error: no match found
# |            33:  } : !transform.any_op 
# | check:77'0     ~~~~~~~~~~~~~~~~~~~~~~~
# | check:77'1           ?                 possible intended match
# |            34:  } 
# | check:77'0     ~~~
# |            35: } 
# | check:77'0     ~~
# |            36:  
# | check:77'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/185033


More information about the Mlir-commits mailing list