[Mlir-commits] [mlir] [MLIR][TableGen] Use const pointers for various `Init` objects (PR #112316)

LLVM Continuous Integration llvmlistbot at llvm.org
Mon Oct 14 23:52:05 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia-gcc7` running on `mlir-nvidia` while building `mlir` at step 6 "test-build-check-mlir-build-only-check-mlir".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/116/builds/4997

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: mlir-tblgen/openmp-ops-verify.td' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
mkdir -p /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/test/mlir-tblgen/Output/openmp-ops-verify.td.tmp/mlir/Dialect/OpenMP
# executed command: mkdir -p /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/test/mlir-tblgen/Output/openmp-ops-verify.td.tmp/mlir/Dialect/OpenMP
# RUN: at line 6
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/mlir-tblgen --gen-directive-decl --directives-dialect=OpenMP    /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/../../../llvm/include/llvm/Frontend/OpenMP/OMP.td    -I /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/../../../llvm/include > /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/test/mlir-tblgen/Output/openmp-ops-verify.td.tmp/mlir/Dialect/OpenMP/OmpCommon.td
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/mlir-tblgen --gen-directive-decl --directives-dialect=OpenMP /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/../../../llvm/include/llvm/Frontend/OpenMP/OMP.td -I /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/../../../llvm/include
# RUN: at line 10
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/not /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/mlir-tblgen -verify-openmp-ops -I /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/../../include -I /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/test/mlir-tblgen/Output/openmp-ops-verify.td.tmp /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td 2>&1 | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/FileCheck /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/not /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/mlir-tblgen -verify-openmp-ops -I /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/../../include -I /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/test/mlir-tblgen/Output/openmp-ops-verify.td.tmp /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td
# executed command: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/bin/FileCheck /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td
# .---command stderr------------
# | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td:142:15: error: CHECK-NOT: excluded string found in input
# | // CHECK-NOT: warning:
# |               ^
# | <stdin>:37:101: note: found here
# | /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td:127:5: warning: 'Indirect' clause-defined argument 'I32:$val2' not present in operation. Consider `dag arguments = !con(clausesArgs, ...)` or explicitly skipping this field.
# |                                                                                                     ^~~~~~~~
# | 
# | Input file: <stdin>
# | Check file: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         32: def 6MultiClauseOp : OpenMP_Op<"op", clauses=[OpenMP_SimpleClause, IndirectClause]> { 
# |         33:  ^ 
# |         34: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td:109:5: warning: 'Indirect' clause-defined argument 'I32:$val2' not present in operation. Consider `dag arguments = !con(clausesArgs, ...)` or explicitly skipping this field. 
# |         35: def 7MultiSuperClassClauseOp : OpenMP_Op<"op", clauses=[IndirectClause]> { 
# |         36:  ^ 
# |         37: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td:127:5: warning: 'Indirect' clause-defined argument 'I32:$val2' not present in operation. Consider `dag arguments = !con(clausesArgs, ...)` or explicitly skipping this field. 
# | not:142                                                                                                         !~~~~~~~                                                                                                                                                                error: no match expected
# |         38: def SkipAssemblyFormatOp : OpenMP_Op<"op", 
# |         39:  ^ 
# |         40: /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/test/mlir-tblgen/openmp-ops-verify.td:132:5: warning: 'Indirect' clause-defined argument 'I32:$val2' not present in operation. Consider `dag arguments = !con(clausesArgs, ...)` or explicitly skipping this field. 
# |         41: def SkipDescriptionOp : OpenMP_Op<"op", 
# |         42:  ^ 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
...

```

</details>

https://github.com/llvm/llvm-project/pull/112316


More information about the Mlir-commits mailing list