[Mlir-commits] [mlir] New Class Lowering (PR #208864)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jul 10 17:50:51 PDT 2026


github-actions[bot] wrote:

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

* 3910 tests passed
* 440 tests skipped
* 2 tests failed

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

### MLIR
<details>
<summary>MLIR.Dialect/EmitC/lower-nested-module-to-class.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\EmitC\lower-nested-module-to-class.mlir -lower-nested-module-to-class -split-input-file | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\EmitC\lower-nested-module-to-class.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\EmitC\lower-nested-module-to-class.mlir' -lower-nested-module-to-class -split-input-file
# 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\EmitC\lower-nested-module-to-class.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\EmitC\lower-nested-module-to-class.mlir:14:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: emitc.class @tag_class {
# |                ^
# | <stdin>:1:17: note: scanning from here
# | module @outer1 {
# |                 ^
# | <stdin>:2:32: note: possible intended match here
# |  module @tag_class attributes {emitc.class} {
# |                                ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\EmitC\lower-nested-module-to-class.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: module @outer1 { 
# | next:14'0                    {   search range start (exclusive)
# | next:14'1                        error: no match found in search range
# |            2:  module @tag_class attributes {emitc.class} { 
# | next:14'2                                    ?                possible intended match
# |            3:  emitc.func @foo() { 
# |            4:  return 
# |            5:  } 
# |            6:  } 
# |            7: } 
# |            .
# |            .
# |            .
# |           23:  emitc.func @foo() { 
# |           24:  return 
# |           25:  } 
# |           26:  } 
# |           27: } 
# |           28:  
# | next:14'3      } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>MLIR.Dialect/Func/wrap-func-in-module.mlir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Func\wrap-func-in-module.mlir --wrap-func-in-module | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Func\wrap-func-in-module.mlir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-opt.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Func\wrap-func-in-module.mlir' --wrap-func-in-module
# 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\Func\wrap-func-in-module.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Func\wrap-func-in-module.mlir:12:16: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: module {
# |                ^
# | <stdin>:1:9: note: scanning from here
# | module {
# |         ^
# | <stdin>:2:2: note: possible intended match here
# |  module @foo {
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\Dialect\Func\wrap-func-in-module.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: module { 
# | next:12'0            {   search range start (exclusive)
# | next:12'1                error: no match found in search range
# |            2:  module @foo { 
# | next:12'2      ?               possible intended match
# |            3:  func.func @foo() { 
# |            4:  return 
# |            5:  } 
# |            6:  } 
# |            7:  module @bar { 
# |            8:  func.func @bar() { 
# |            9:  return 
# |           10:  } 
# |           11:  } 
# |           12: } 
# |           13:  
# | next:12'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/208864


More information about the Mlir-commits mailing list