github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
The build failed before running any tests. Click on a failure below to see the
details.
<details>
<summary>[code=1]
tools/clang/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenFunction.cpp.o</summary>
```
FAILED: [code=1]
tools/clang/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenFunction.cpp.o
sccache /opt/llvm/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/lib/CIR/CodeGen
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CIR/CodeGen
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../mlir/include
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include
-gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported
-fdiagnostics-color -ffunction-sections -fdata-sections -fno-common
-Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions
-funwind-tables -fno-rtti -MD -MT
tools/clang/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenFunction.cpp.o
-MF
tools/clang/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenFunction.cpp.o.d
-o tools/clang/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenFunction.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.cpp:1258:60:
error: no viable conversion from 'mlir::Attribute' to 'mlir::TypedAttr'
1258 | builder.getConstant(getLoc(e->getSourceRange()), result);
| ^~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../mlir/include/mlir/Support/InterfaceSupport.h:102:3:
note: candidate inherited constructor not viable: no known conversion from
'mlir::Attribute' to 'std::nullptr_t' for 1st argument
102 | Interface(std::nullptr_t) : BaseType(ValueT()), conceptImpl(nullptr) {}
| ^ ~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/IR/BuiltinAttributeInterfaces.h.inc:197:82:
note: constructor from base class 'AttributeInterface<mlir::TypedAttr,
mlir::detail::TypedAttrInterfaceTraits>' inherited here
197 | using ::mlir::AttributeInterface<TypedAttr,
detail::TypedAttrInterfaceTraits>::AttributeInterface;
|
^
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/IR/BuiltinAttributeInterfaces.h.inc:195:7:
note: candidate constructor (the implicit copy constructor) not viable: cannot
bind base class object of type 'mlir::Attribute' to derived class reference
'const TypedAttr &' for 1st argument
195 | class TypedAttr : public ::mlir::AttributeInterface<TypedAttr,
detail::TypedAttrInterfaceTraits> {
| ^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include/mlir/IR/BuiltinAttributeInterfaces.h.inc:195:7:
note: candidate constructor (the implicit move constructor) not viable: cannot
bind base class object of type 'mlir::Attribute' to derived class reference
'TypedAttr &&' for 1st argument
195 | class TypedAttr : public ::mlir::AttributeInterface<TypedAttr,
detail::TypedAttrInterfaceTraits> {
| ^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../mlir/include/mlir/Support/InterfaceSupport.h:108:3:
note: candidate template ignored: requirement
'std::is_base_of<mlir::detail::Interface<mlir::TypedAttr, mlir::Attribute,
mlir::detail::TypedAttrInterfaceTraits, mlir::Attribute,
mlir::AttributeTrait::TraitBase>::Trait<mlir::Attribute>,
mlir::Attribute>::value' was not satisfied [with T = mlir::Attribute]
108 | Interface(T t)
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/../mlir/include/mlir/Support/InterfaceSupport.h:96:12:
note: explicit constructor is not a candidate
96 | explicit Interface(ValueT t = ValueT())
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h:94:67:
note: passing argument to parameter 'attr' here
94 | cir::ConstantOp getConstant(mlir::Location loc, mlir::TypedAttr attr) {
| ^
1 error generated.
```
</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/237421
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits