[Mlir-commits] [mlir] [mlir][ODS] Copy constant generated interface model prototypes (PR #226323)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Sep 29 04:10:57 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 9191 tests passed
* 652 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.mlir-tblgen/op-interface.td</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-interface-decls -I /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/../../include /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/op-interface.td | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/op-interface.td --check-prefix=DECL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-interface-decls -I /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/../../include /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/op-interface.td
# 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/mlir-tblgen/op-interface.td --check-prefix=DECL
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/op-interface.td:192:10: error: DECL: expected string not found in input
# | // DECL: FallbackModel() : Concept{foo, body_foo, Concept::shared_shared_body_foo, mixed_body_foo, default_foo}
# |          ^
# | <stdin>:391:38: note: scanning from here
# |  class FallbackModel : public Concept {
# |                                      ^
# | <stdin>:394:2: note: possible intended match here
# |  FallbackModel() : Concept{foo, body_foo, shared_body_foo, mixed_body_foo, default_foo} {}
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/op-interface.td
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            386:  static inline int body_foo(const Concept *impl, ::mlir::Operation *tablegen_opaque_val, int input); 
# |            387:  static inline int mixed_body_foo(const Concept *impl, ::mlir::Operation *tablegen_opaque_val, int input); 
# |            388:  static inline int default_foo(const Concept *impl, ::mlir::Operation *tablegen_opaque_val, int input); 
# |            389:  }; 
# |            390:  template<typename ConcreteOp> 
# |            391:  class FallbackModel : public Concept { 
# | check:192'0                                         {     search range start (exclusive)
# | check:192'1                                               error: no match found in search range
# |            392:  public: 
# |            393:  using Interface = TestOpInterface; 
# |            394:  FallbackModel() : Concept{foo, body_foo, shared_body_foo, mixed_body_foo, default_foo} {} 
# | check:192'2      ?                                                                                           possible intended match
# |            395:  
# |            396:  static inline int foo(const Concept *impl, ::mlir::Operation *tablegen_opaque_val, int input); 
# |            397:  static inline int body_foo(const Concept *impl, ::mlir::Operation *tablegen_opaque_val, int input); 
# |            398:  static inline int shared_body_foo(const Concept *impl, ::mlir::Operation *tablegen_opaque_val, int input); 
# |            399:  static inline int mixed_body_foo(const Concept *impl, ::mlir::Operation *tablegen_opaque_val, int input); 
# |              .
# |              .
# |              .
# |            569:  
# |            570: } // namespace detail 
# |            571: namespace detail { 
# |            572:  
# |            573:  template <typename ConcreteOp> 
# |            574:  struct TestOpInterfaceVerifyTrait : public ::mlir::OpInterface<TestOpInterfaceVerify, detail::TestOpInterfaceVerifyInterfaceTraits>::Trait<ConcreteOp> { 
# | check:192'3                                                }                                                                                                                search range end (exclusive)
# |            575:  static ::llvm::LogicalResult verifyTrait(::mlir::Operation *op) { 
# |            576:  return foo(); 
# |            577:  } 
# |            578:  }; 
# |            579:  
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# 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/226323


More information about the Mlir-commits mailing list