[llvm] [IR] Store Metadata attachments in vector (PR #189551)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 31 07:35:05 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 129337 tests passed
* 2627 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>[code=4294967295] tools/mlir/unittests/Dialect/SMT/MLIRSMTTests.exe</summary>
```
FAILED: [code=4294967295] tools/mlir/unittests/Dialect/SMT/MLIRSMTTests.exe
C:\Windows\system32\cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --msvc-ver=1944 --intdir=tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\mt.exe" --manifests -- C:\clang\clang-msvc\bin\lld-link.exe /nologo tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\TypeTest.cpp.obj tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\C_\_work\llvm-project\llvm-project\llvm\resources\windows_version_resource.rc.res /out:tools\mlir\unittests\Dialect\SMT\MLIRSMTTests.exe /implib:tools\mlir\unittests\Dialect\SMT\MLIRSMTTests.lib /pdb:tools\mlir\unittests\Dialect\SMT\MLIRSMTTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMSupport.lib lib\llvm_gtest_main.lib lib\llvm_gtest.lib lib\MLIRSMT.lib lib\MLIRInferTypeOpInterface.lib lib\MLIRSideEffectInterfaces.lib lib\MLIRControlFlowInterfaces.lib lib\MLIRIR.lib lib\MLIRSupport.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll lib\LLVMDemangle.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\TypeTest.cpp.obj tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\C_\_work\llvm-project\llvm-project\llvm\resources\windows_version_resource.rc.res /out:tools\mlir\unittests\Dialect\SMT\MLIRSMTTests.exe /implib:tools\mlir\unittests\Dialect\SMT\MLIRSMTTests.lib /pdb:tools\mlir\unittests\Dialect\SMT\MLIRSMTTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMSupport.lib lib\llvm_gtest_main.lib lib\llvm_gtest.lib lib\MLIRSMT.lib lib\MLIRInferTypeOpInterface.lib lib\MLIRSideEffectInterfaces.lib lib\MLIRControlFlowInterfaces.lib lib\MLIRIR.lib lib\MLIRSupport.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll lib\LLVMDemangle.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" failed (exit code 1) with the following output:
lld-link: error: undefined symbol: private: static class mlir::SelfOwningTypeID mlir::detail::TypeIDResolver<class mlir::smt::SMTDialect, void>::id
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_MinBitWidth_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ExpectedOneDigit_Test::TestBody(void))
>>> referenced 11 more times
lld-link: error: undefined symbol: public: static class mlir::smt::BitVectorAttr __cdecl mlir::smt::BitVectorAttr::getChecked(class llvm::function_ref<class mlir::InFlightDiagnostic __cdecl(void)>, class mlir::MLIRContext *, unsigned __int64, unsigned int)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(public: static class mlir::smt::BitVectorAttr __cdecl mlir::detail::StorageUserBase<class mlir::smt::BitVectorAttr, class mlir::Attribute, struct mlir::smt::detail::BitVectorAttrStorage, class mlir::detail::AttributeUniquer, struct mlir::TypedAttr::Trait>::getChecked<class mlir::MLIRContext *, unsigned __int64, unsigned int>(class mlir::Location const &, class mlir::MLIRContext *&&, unsigned __int64 &&, unsigned int &&))
lld-link: error: undefined symbol: private: __cdecl mlir::smt::SMTDialect::SMTDialect(class mlir::MLIRContext *)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: static class std::unique_ptr<class mlir::Dialect, struct std::default_delete<class mlir::Dialect>> __cdecl llvm::function_ref<class std::unique_ptr<class mlir::Dialect, struct std::default_delete<class mlir::Dialect>> __cdecl(void)>::callback_fn<class `public: class mlir::smt::SMTDialect * __cdecl mlir::MLIRContext::getOrLoadDialect<class mlir::smt::SMTDialect>(void)'::`1'::<lambda_1>>(__int64))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\TypeTest.cpp.obj
lld-link: error: undefined symbol: public: static class mlir::smt::BitVectorAttr __cdecl mlir::smt::BitVectorAttr::get(class mlir::MLIRContext *, class llvm::StringRef)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
>>> referenced 2 more times
lld-link: error: undefined symbol: public: class llvm::APInt const & __cdecl mlir::smt::BitVectorAttr::getValue(void) const
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_GetUInt64Max_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_GetUInt64Max_Test::TestBody(void))
lld-link: error: undefined symbol: public: static class mlir::smt::BitVectorType __cdecl mlir::smt::BitVectorType::get(class mlir::MLIRContext *, __int64)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
lld-link: error: undefined symbol: public: class mlir::Type __cdecl mlir::smt::BitVectorAttr::getType(void) const
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
lld-link: error: undefined symbol: public: class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl mlir::smt::BitVectorAttr::getValueAsString(bool) const
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_ParserAndPrinterCorrect_Test::TestBody(void))
>>> referenced 1 more times
lld-link: error: undefined symbol: public: static class mlir::smt::BitVectorAttr __cdecl mlir::smt::BitVectorAttr::getChecked(class llvm::function_ref<class mlir::InFlightDiagnostic __cdecl(void)>, class mlir::MLIRContext *, class llvm::StringRef)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(public: static class mlir::smt::BitVectorAttr __cdecl mlir::detail::StorageUserBase<class mlir::smt::BitVectorAttr, class mlir::Attribute, struct mlir::smt::detail::BitVectorAttrStorage, class mlir::detail::AttributeUniquer, struct mlir::TypedAttr::Trait>::getChecked<class mlir::MLIRContext *, class llvm::StringRef>(class mlir::Location const &, class mlir::MLIRContext *&&, class llvm::StringRef &&))
lld-link: error: undefined symbol: public: static class mlir::smt::BitVectorAttr __cdecl mlir::smt::BitVectorAttr::get(class mlir::MLIRContext *, unsigned __int64, unsigned int)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_GetUInt64Max_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\AttributeTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::BitVectorAttrTest_GetUInt64Max_Test::TestBody(void))
lld-link: error: undefined symbol: public: static class mlir::smt::ExistsOp __cdecl mlir::smt::ExistsOp::create(class mlir::OpBuilder &, class mlir::Location, class mlir::TypeRange, class llvm::function_ref<class mlir::Value __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>, class std::optional<class llvm::ArrayRef<class llvm::StringRef>>, class llvm::function_ref<class mlir::ValueRange __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>, unsigned int, bool)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ExistsBuilderWithPattern_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ExistsBuilderNoPattern_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ExistsBuilderDefault_Test::TestBody(void))
lld-link: error: undefined symbol: private: static class mlir::SelfOwningTypeID mlir::detail::TypeIDResolver<class mlir::smt::BoolType, void>::id
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(public: static class mlir::smt::BoolType __cdecl mlir::detail::StorageUserBase<class mlir::smt::BoolType, class mlir::Type, class mlir::TypeStorage, struct mlir::detail::TypeUniquer>::get<>(class mlir::MLIRContext *))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: static class mlir::Value __cdecl llvm::function_ref<class mlir::Value __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>::callback_fn<class `private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ExistsBuilderWithPattern_Test::TestBody(void)'::`1'::<lambda_0>>(__int64, class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: static class mlir::Value __cdecl llvm::function_ref<class mlir::Value __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>::callback_fn<class `private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ExistsBuilderWithPattern_Test::TestBody(void)'::`1'::<lambda_0>>(__int64, class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange))
>>> referenced 10 more times
lld-link: error: undefined symbol: public: static class mlir::smt::AndOp __cdecl mlir::smt::AndOp::create(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange, class llvm::ArrayRef<class mlir::NamedAttribute>)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: static class mlir::Value __cdecl llvm::function_ref<class mlir::Value __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>::callback_fn<class `private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ExistsBuilderWithPattern_Test::TestBody(void)'::`1'::<lambda_0>>(__int64, class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: static class mlir::Value __cdecl llvm::function_ref<class mlir::Value __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>::callback_fn<class `private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ExistsBuilderNoPattern_Test::TestBody(void)'::`1'::<lambda_2>>(__int64, class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: static class mlir::Value __cdecl llvm::function_ref<class mlir::Value __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>::callback_fn<class `private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ExistsBuilderDefault_Test::TestBody(void)'::`1'::<lambda_3>>(__int64, class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange))
>>> referenced 3 more times
lld-link: error: undefined symbol: public: static class mlir::smt::ForallOp __cdecl mlir::smt::ForallOp::create(class mlir::OpBuilder &, class mlir::Location, class mlir::TypeRange, class llvm::function_ref<class mlir::Value __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>, class std::optional<class llvm::ArrayRef<class llvm::StringRef>>, class llvm::function_ref<class mlir::ValueRange __cdecl(class mlir::OpBuilder &, class mlir::Location, class mlir::ValueRange)>, unsigned int, bool)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ForallBuilderWithPattern_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ForallBuilderNoPattern_Test::TestBody(void))
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\QuantifierTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::QuantifierTest_ForallBuilderDefault_Test::TestBody(void))
lld-link: error: undefined symbol: public: static class mlir::smt::SMTFuncType __cdecl mlir::smt::SMTFuncType::getChecked(class llvm::function_ref<class mlir::InFlightDiagnostic __cdecl(void)>, class llvm::ArrayRef<class mlir::Type>, class mlir::Type)
>>> referenced by tools\mlir\unittests\Dialect\SMT\CMakeFiles\MLIRSMTTests.dir\TypeTest.cpp.obj:(public: static class mlir::smt::SMTFuncType __cdecl mlir::detail::StorageUserBase<class mlir::smt::SMTFuncType, class mlir::Type, struct mlir::smt::detail::SMTFuncTypeStorage, struct mlir::detail::TypeUniquer>::getChecked<class llvm::ArrayRef<class mlir::Type>, class mlir::smt::BoolType &>(class mlir::Location const &, class llvm::ArrayRef<class mlir::Type> &&, class mlir::smt::BoolType &))
```
</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/189551
More information about the llvm-commits
mailing list