[Mlir-commits] [mlir] [MLIR] Forward generated OpTy::create arguments (PR #170012)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Nov 29 15:50:31 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 7154 tests passed
* 594 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.mlir-tblgen/op-decl-and-defs.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-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-decl-and-defs.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-decl-and-defs.td
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-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-decl-and-defs.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-decl-and-defs.td
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-decls -op-include-regex="test.a_op" -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-decl-and-defs.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-decl-and-defs.td --check-prefix=REDUCE_INC
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-decls -op-include-regex=test.a_op -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-decl-and-defs.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-decl-and-defs.td --check-prefix=REDUCE_INC
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-decls -op-exclude-regex="test.a_op" -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-decl-and-defs.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-decl-and-defs.td --check-prefix=REDUCE_EXC
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-decls -op-exclude-regex=test.a_op -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-decl-and-defs.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-decl-and-defs.td --check-prefix=REDUCE_EXC
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-defs -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-decl-and-defs.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-decl-and-defs.td --check-prefix=DEFS
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-tblgen -gen-op-defs -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-decl-and-defs.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-decl-and-defs.td --check-prefix=DEFS
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/op-decl-and-defs.td:238:10: error: DEFS: expected string not found in input
# | // DEFS: build(builder, __state__, a);
# | ^
# | <stdin>:1912:65: note: scanning from here
# | ::mlir::OperationState __state__(location, getOperationName());
# | ^
# | <stdin>:1913:2: note: possible intended match here
# | build(builder, __state__, static_cast<decltype(a)>(a));
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/mlir-tblgen/op-decl-and-defs.td
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 1907: ::mlir::detail::reportFatalInferReturnTypesError(odsState);
# | 1908:
# | 1909: }
# | 1910:
# | 1911: FOp FOp::create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value a) {
# | 1912: ::mlir::OperationState __state__(location, getOperationName());
# | check:238'0 X error: no match found
# | 1913: build(builder, __state__, static_cast<decltype(a)>(a));
# | check:238'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:238'1 ? possible intended match
# | 1914: auto __res__ = ::llvm::dyn_cast<FOp>(builder.create(__state__));
# | check:238'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1915: assert(__res__ && "builder didn't return the right type");
# | check:238'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1916: return __res__;
# | check:238'0 ~~~~~~~~~~~~~~~~~
# | 1917: }
# | check:238'0 ~~
# | 1918:
# | check:238'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/170012
More information about the Mlir-commits
mailing list