[llvm] [AMDGPU] Hoist WMMA coexecution hazard V_NOPs from loops to preheaders (PR #176895)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 20 09:45:19 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 4142 tests passed
* 29 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] bin/yaml2obj.exe</summary>

```
FAILED: [code=4294967295] bin/yaml2obj.exe
cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --intdir=tools\yaml2obj\CMakeFiles\yaml2obj.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\mt.exe" --manifests  -- C:\clang\clang-msvc\bin\lld-link.exe /nologo tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj tools\yaml2obj\CMakeFiles\yaml2obj.dir\__\__\resources\windows_version_resource.rc.res  /out:bin\yaml2obj.exe /implib:lib\yaml2obj.lib /pdb:bin\yaml2obj.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console  lib\LLVMObject.lib  lib\LLVMObjectYAML.lib  lib\LLVMProfileData.lib  lib\LLVMSupport.lib  lib\LLVMSymbolize.lib  lib\LLVMDebugInfoGSYM.lib  lib\LLVMDebugInfoPDB.lib  lib\LLVMDebugInfoCodeView.lib  "C:\BuildTools\DIA SDK\lib\amd64\diaguids.lib"  lib\LLVMDebugInfoMSF.lib  lib\LLVMDebugInfoBTF.lib  lib\LLVMDebugInfoDWARF.lib  lib\LLVMObject.lib  lib\LLVMIRReader.lib  lib\LLVMBitReader.lib  lib\LLVMAsmParser.lib  lib\LLVMCore.lib  lib\LLVMRemarks.lib  lib\LLVMBitstreamReader.lib  lib\LLVMMCParser.lib  lib\LLVMMC.lib  lib\LLVMTextAPI.lib  lib\LLVMDebugInfoDWARFLowLevel.lib  lib\LLVMBinaryFormat.lib  lib\LLVMTargetParser.lib  lib\LLVMSupport.lib  lib\LLVMDemangle.lib  psapi.lib  shell32.lib  ole32.lib  uuid.lib  advapi32.lib  ws2_32.lib  ntdll.lib  delayimp.lib  -delayload:shell32.dll  -delayload:ole32.dll  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\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj tools\yaml2obj\CMakeFiles\yaml2obj.dir\__\__\resources\windows_version_resource.rc.res /out:bin\yaml2obj.exe /implib:lib\yaml2obj.lib /pdb:bin\yaml2obj.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMObject.lib lib\LLVMObjectYAML.lib lib\LLVMProfileData.lib lib\LLVMSupport.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoGSYM.lib lib\LLVMDebugInfoPDB.lib lib\LLVMDebugInfoCodeView.lib C:\BuildTools\DIA SDK\lib\amd64\diaguids.lib lib\LLVMDebugInfoMSF.lib lib\LLVMDebugInfoBTF.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMObject.lib lib\LLVMIRReader.lib lib\LLVMBitReader.lib lib\LLVMAsmParser.lib lib\LLVMCore.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMMCParser.lib lib\LLVMMC.lib lib\LLVMTextAPI.lib lib\LLVMDebugInfoDWARFLowLevel.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.lib lib\LLVMSupport.lib lib\LLVMDemangle.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll 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: class llvm::cl::OptionCategory & __cdecl llvm::cl::getGeneralCategory(void)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, 0, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::opt<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, 0, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::initializer<char[2]>, struct llvm::cl::cat>(enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::initializer<char[2]> const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><char[2], enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<bool, 0, class llvm::cl::parser<bool>>::opt<bool, 0, class llvm::cl::parser<bool>><char[2], struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced 52 more times

lld-link: error: undefined symbol: public: void __cdecl llvm::cl::Option::addCategory(class llvm::cl::OptionCategory &)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, 0, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::opt<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, 0, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::initializer<char[2]>, struct llvm::cl::cat>(enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::initializer<char[2]> const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><char[2], enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<bool, 0, class llvm::cl::parser<bool>>::opt<bool, 0, class llvm::cl::parser<bool>><char[2], struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced 3 more times

lld-link: error: undefined symbol: public: void __cdecl llvm::cl::Option::addArgument(void)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, 0, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::opt<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, 0, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::initializer<char[2]>, struct llvm::cl::cat>(enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::initializer<char[2]> const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><char[2], enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<bool, 0, class llvm::cl::parser<bool>>::opt<bool, 0, class llvm::cl::parser<bool>><char[2], struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced 52 more times

lld-link: error: undefined symbol: protected: void __cdecl llvm::SmallVectorBase<unsigned int>::grow_pod(void *, unsigned __int64, unsigned __int64)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, 0, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::opt<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, 0, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::initializer<char[2]>, struct llvm::cl::cat>(enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::initializer<char[2]> const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><char[2], enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<bool, 0, class llvm::cl::parser<bool>>::opt<bool, 0, class llvm::cl::parser<bool>><char[2], struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced 1235 more times

lld-link: error: undefined symbol: public: void __cdecl llvm::cl::Option::setArgStr(class llvm::StringRef)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>::list<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, bool, class llvm::cl::parser<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>><char[2], enum llvm::cl::FormattingFlags, struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], enum llvm::cl::FormattingFlags const &, struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<bool, 0, class llvm::cl::parser<bool>>::opt<bool, 0, class llvm::cl::parser<bool>><char[2], struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[2], struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(public: __cdecl llvm::cl::opt<unsigned int, 0, class llvm::cl::parser<unsigned int>>::opt<unsigned int, 0, class llvm::cl::parser<unsigned int>><char[7], struct llvm::cl::initializer<int>, struct llvm::cl::desc, struct llvm::cl::cat>(char const (&)[7], struct llvm::cl::initializer<int> const &, struct llvm::cl::desc const &, struct llvm::cl::cat const &))
>>> referenced 51 more times

lld-link: error: undefined symbol: public: __cdecl llvm::InitLLVM::InitLLVM(int &, char const **&, bool)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)

lld-link: error: undefined symbol: public: static class llvm::cl::SubCommand & __cdecl llvm::cl::SubCommand::getTopLevel(void)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)

lld-link: error: undefined symbol: void __cdecl llvm::cl::HideUnrelatedOptions(class llvm::cl::OptionCategory &, class llvm::cl::SubCommand &)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)

lld-link: error: undefined symbol: bool __cdecl llvm::cl::ParseCommandLineOptions(int, char const *const *, class llvm::StringRef, class llvm::raw_ostream *, class llvm::vfs::FileSystem *, char const *, bool)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)

lld-link: error: undefined symbol: public: __cdecl llvm::ToolOutputFile::ToolOutputFile(class llvm::StringRef, class std::error_code &, enum llvm::sys::fs::OpenFlags)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by LLVMCore.lib(LLVMRemarkStreamer.cpp.obj):(class llvm::Expected<class llvm::LLVMRemarkFileHandle> __cdecl llvm::setupLLVMOptimizationRemarks(class llvm::LLVMContext &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef, bool, class std::optional<unsigned __int64>))

lld-link: error: undefined symbol: public: static class llvm::ErrorOr<class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>> __cdecl llvm::MemoryBuffer::getFileOrSTDIN(class llvm::Twine const &, bool, bool, class std::optional<struct llvm::Align>)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by LLVMObject.lib(Binary.cpp.obj):(class llvm::Expected<class llvm::object::OwningBinary<class llvm::object::Binary>> __cdecl llvm::object::createBinary(class llvm::StringRef, class llvm::LLVMContext *, bool))
>>> referenced by LLVMIRReader.lib(IRReader.cpp.obj):(class std::unique_ptr<class llvm::Module, struct std::default_delete<class llvm::Module>> __cdecl llvm::getLazyIRFileModule(class llvm::StringRef, class llvm::SMDiagnostic &, class llvm::LLVMContext &, bool))
>>> referenced 5 more times

lld-link: error: undefined symbol: class llvm::raw_fd_ostream & __cdecl llvm::errs(void)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced 174 more times

lld-link: error: undefined symbol: public: static class llvm::raw_ostream & __cdecl llvm::WithColor::error(class llvm::raw_ostream &, class llvm::StringRef, bool)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced 1 more times

lld-link: error: undefined symbol: public: class llvm::raw_ostream & __cdecl llvm::raw_ostream::write(char const *, unsigned __int64)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced 4360 more times

lld-link: error: undefined symbol: public: unsigned __int64 __cdecl llvm::StringRef::find(class llvm::StringRef, unsigned __int64) const
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by LLVMObject.lib(OffloadBinary.cpp.obj):(bool __cdecl llvm::object::areTargetsCompatible(struct std::pair<class llvm::StringRef, class llvm::StringRef> const &, struct std::pair<class llvm::StringRef, class llvm::StringRef> const &))
>>> referenced 100 more times

lld-link: error: undefined symbol: public: unsigned __int64 __cdecl llvm::StringRef::find_first_of(class llvm::StringRef, unsigned __int64) const
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by LLVMMC.lib(MCAsmStreamer.cpp.obj):(public: virtual void __cdecl `anonymous namespace'::MCAsmStreamer::addExplicitComment(class llvm::Twine const &))

lld-link: error: undefined symbol: public: static unsigned int __cdecl llvm::DenseMapInfo<class llvm::StringRef, void>::getHashValue(class llvm::StringRef)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(private: bool __cdecl llvm::DenseMapBase<class llvm::DenseMap<class llvm::StringRef, class llvm::StringRef, struct llvm::DenseMapInfo<class llvm::StringRef, void>, struct llvm::detail::DenseMapPair<class llvm::StringRef, class llvm::StringRef>>, class llvm::StringRef, class llvm::StringRef, struct llvm::DenseMapInfo<class llvm::StringRef, void>, struct llvm::detail::DenseMapPair<class llvm::StringRef, class llvm::StringRef>>::LookupBucketFor<class llvm::StringRef>(class llvm::StringRef const &, struct llvm::detail::DenseMapPair<class llvm::StringRef, class llvm::StringRef> *&))
>>> referenced by LLVMObjectYAML.lib(ELFEmitter.cpp.obj):(public: static bool __cdecl `anonymous namespace'::ELFState<struct llvm::object::ELFType<1, 1>>::writeELF(class llvm::raw_ostream &, struct raw_ostream::ELFYAML::Object &, class raw_ostream::function_ref<void __cdecl(class llvm::Twine const &)>, unsigned __int64))
>>> referenced 128 more times

lld-link: error: undefined symbol: public: void __cdecl llvm::Twine::print(class llvm::raw_ostream &) const
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(private: static void __cdecl llvm::function_ref<void __cdecl(class llvm::Twine const &)>::callback_fn<class `extern "C" main'::`1'::<lambda_0>>(__int64, class llvm::Twine const &))
>>> referenced 308 more times

lld-link: error: undefined symbol: public: class llvm::raw_ostream & __cdecl llvm::raw_ostream::write(unsigned char)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by LLVMObjectYAML.lib(ArchiveEmitter.cpp.obj):(bool __cdecl llvm::yaml::yaml2archive(struct llvm::ArchYAML::Archive &, class llvm::raw_ostream &, class llvm::function_ref<void __cdecl(class llvm::Twine const &)>))
>>> referenced by LLVMObjectYAML.lib(ArchiveEmitter.cpp.obj):(bool __cdecl llvm::yaml::yaml2archive(struct llvm::ArchYAML::Archive &, class llvm::raw_ostream &, class llvm::function_ref<void __cdecl(class llvm::Twine const &)>))
>>> referenced 1550 more times

lld-link: error: undefined symbol: void __cdecl llvm::deallocate_buffer(void *, unsigned __int64, unsigned __int64)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(main)
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(private: void __cdecl llvm::DenseMapBase<class llvm::DenseMap<class llvm::StringRef, class llvm::StringRef, struct llvm::DenseMapInfo<class llvm::StringRef, void>, struct llvm::detail::DenseMapPair<class llvm::StringRef, class llvm::StringRef>>, class llvm::StringRef, class llvm::StringRef, struct llvm::DenseMapInfo<class llvm::StringRef, void>, struct llvm::detail::DenseMapPair<class llvm::StringRef, class llvm::StringRef>>::grow(unsigned int))
>>> referenced by tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj:(private: void __cdecl llvm::DenseMapBase<class llvm::DenseMap<class llvm::StringRef, class llvm::StringRef, struct llvm::DenseMapInfo<class llvm::StringRef, void>, struct llvm::detail::DenseMapPair<class llvm::StringRef, class llvm::StringRef>>, class llvm::StringRef, class llvm::StringRef, struct llvm::DenseMapInfo<class llvm::StringRef, void>, struct llvm::detail::DenseMapPair<class llvm::StringRef, class llvm::StringRef>>::grow(unsigned int))
>>> referenced 1023 more times

lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
```
</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/176895


More information about the llvm-commits mailing list