[llvm] [SLP] Inefficient cost-modelling and codegen for reductions with slp-… (PR #197875)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 05:16:33 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 84449 tests passed
* 2102 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/c-index-test.exe</summary>
```
FAILED: [code=4294967295] bin/c-index-test.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\clang\tools\c-index-test\CMakeFiles\c-index-test.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\clang\tools\c-index-test\CMakeFiles\c-index-test.dir\c-index-test.c.obj tools\clang\tools\c-index-test\CMakeFiles\c-index-test.dir\core_main.cpp.obj tools\clang\tools\c-index-test\CMakeFiles\c-index-test.dir\C_\_work\llvm-project\llvm-project\llvm\resources\windows_version_resource.rc.res /out:bin\c-index-test.exe /implib:lib\c-index-test.lib /pdb:bin\c-index-test.pdb /version:0.0 /MANIFEST:NO /INCREMENTAL:NO /subsystem:console /STACK:10000000 lib\LLVMSupport.lib lib\libclang.lib lib\clangAST.lib lib\clangBasic.lib lib\clangDriver.lib lib\clangFrontend.lib lib\clangIndex.lib lib\clangSerialization.lib lib\clangUnifiedSymbolResolution.lib lib\clangDependencyScanning.lib lib\clangScalableStaticAnalysisFrameworkFrontend.lib lib\clangScalableStaticAnalysisFrameworkAnalyses.lib lib\clangScalableStaticAnalysisFrameworkCore.lib version.lib lib\LLVMWindowsDriver.lib lib\clangOptions.lib lib\LLVMOption.lib lib\clangParse.lib lib\LLVMPlugins.lib lib\clangSema.lib lib\clangAPINotes.lib lib\clangEdit.lib lib\clangAnalysisLifetimeSafety.lib lib\clangAnalysis.lib lib\clangASTMatchers.lib lib\clangSupport.lib lib\clangFormat.lib lib\clangToolingInclusions.lib lib\clangToolingCore.lib lib\clangRewrite.lib lib\clangLex.lib lib\LLVMFrontendOpenMP.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMFrontendOffloading.lib lib\LLVMTransformUtils.lib lib\LLVMObjectYAML.lib lib\LLVMFrontendAtomic.lib lib\LLVMAnalysis.lib lib\LLVMFrontendHLSL.lib lib\LLVMProfileData.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoGSYM.lib lib\LLVMDebugInfoPDB.lib lib\LLVMDebugInfoCodeView.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\LLVMFrontendDirective.lib lib\LLVMTargetParser.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\clang\tools\c-index-test\CMakeFiles\c-index-test.dir\c-index-test.c.obj tools\clang\tools\c-index-test\CMakeFiles\c-index-test.dir\core_main.cpp.obj tools\clang\tools\c-index-test\CMakeFiles\c-index-test.dir\C_\_work\llvm-project\llvm-project\llvm\resources\windows_version_resource.rc.res /out:bin\c-index-test.exe /implib:lib\c-index-test.lib /pdb:bin\c-index-test.pdb /version:0.0 /MANIFEST:NO /INCREMENTAL:NO /subsystem:console /STACK:10000000 lib\LLVMSupport.lib lib\libclang.lib lib\clangAST.lib lib\clangBasic.lib lib\clangDriver.lib lib\clangFrontend.lib lib\clangIndex.lib lib\clangSerialization.lib lib\clangUnifiedSymbolResolution.lib lib\clangDependencyScanning.lib lib\clangScalableStaticAnalysisFrameworkFrontend.lib lib\clangScalableStaticAnalysisFrameworkAnalyses.lib lib\clangScalableStaticAnalysisFrameworkCore.lib version.lib lib\LLVMWindowsDriver.lib lib\clangOptions.lib lib\LLVMOption.lib lib\clangParse.lib lib\LLVMPlugins.lib lib\clangSema.lib lib\clangAPINotes.lib lib\clangEdit.lib lib\clangAnalysisLifetimeSafety.lib lib\clangAnalysis.lib lib\clangASTMatchers.lib lib\clangSupport.lib lib\clangFormat.lib lib\clangToolingInclusions.lib lib\clangToolingCore.lib lib\clangRewrite.lib lib\clangLex.lib lib\LLVMFrontendOpenMP.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMFrontendOffloading.lib lib\LLVMTransformUtils.lib lib\LLVMObjectYAML.lib lib\LLVMFrontendAtomic.lib lib\LLVMAnalysis.lib lib\LLVMFrontendHLSL.lib lib\LLVMProfileData.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoGSYM.lib lib\LLVMDebugInfoPDB.lib lib\LLVMDebugInfoCodeView.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\LLVMFrontendDirective.lib lib\LLVMTargetParser.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: public: static class llvm::Expected<class std::unique_ptr<class llvm::object::ObjectFile, struct std::default_delete<class llvm::object::ObjectFile>>> __cdecl llvm::object::ObjectFile::createObjectFile(class llvm::MemoryBufferRef, struct llvm::file_magic, bool)
>>> referenced by clangSerialization.lib(ObjectFilePCHContainerReader.cpp.obj):(private: virtual class llvm::StringRef __cdecl clang::ObjectFilePCHContainerReader::ExtractPCH(class llvm::MemoryBufferRef) const)
>>> referenced by clangDriver.lib(Clang.cpp.obj):(bool __cdecl maybeHasClangPchSignature(class clang::driver::Driver const &, class llvm::StringRef))
>>> referenced by clangDriver.lib(HIPUtility.cpp.obj):(private: void __cdecl HIPUndefinedFatBinSymbols::processInput(class llvm::MemoryBufferRef const &))
lld-link: error: undefined symbol: class std::error_category const & __cdecl llvm::object::object_category(void)
>>> referenced by clangSerialization.lib(ObjectFilePCHContainerReader.cpp.obj):(class llvm::Error __cdecl llvm::handleErrorImpl<class `private: virtual class llvm::StringRef __cdecl clang::ObjectFilePCHContainerReader::ExtractPCH(class llvm::MemoryBufferRef) const'::`1'::<lambda_1>>(class std::unique_ptr<class llvm::ErrorInfoBase, struct std::default_delete<class llvm::ErrorInfoBase>>, class `private: virtual class llvm::StringRef __cdecl clang::ObjectFilePCHContainerReader::ExtractPCH(class llvm::MemoryBufferRef) const'::`1'::<lambda_1> &&))
>>> referenced by LLVMFrontendOffloading.lib(Utility.cpp.obj):(private: void __cdecl llvm::object::Elf_Note_Iterator_Impl<struct llvm::object::ELFType<1, 1>>::advanceNhdr(unsigned char const *, unsigned __int64))
>>> referenced by LLVMDebugInfoDWARF.lib(DWARFContext.cpp.obj):(void __cdecl fixupIndexV4(class llvm::DWARFContext &, class llvm::DWARFUnitIndex &))
>>> referenced 8 more times
lld-link: error: undefined symbol: public: static class llvm::Expected<class llvm::object::ELFFile<struct llvm::object::ELFType<1, 1>>> __cdecl llvm::object::ELFFile<struct llvm::object::ELFType<1, 1>>::create(class llvm::StringRef)
>>> referenced by LLVMFrontendOffloading.lib(Utility.cpp.obj):(class llvm::Error __cdecl llvm::offloading::amdgpu::getAMDGPUMetaDataFromImage(class llvm::MemoryBufferRef, class llvm::StringMap<struct llvm::offloading::amdgpu::AMDGPUKernelMetaData, class llvm::MallocAllocator> &, unsigned short &))
lld-link: error: undefined symbol: public: class llvm::Expected<class llvm::ArrayRef<struct llvm::object::Elf_Shdr_Impl<struct llvm::object::ELFType<1, 1>>>> __cdecl llvm::object::ELFFile<struct llvm::object::ELFType<1, 1>>::sections(void) const
>>> referenced by LLVMFrontendOffloading.lib(Utility.cpp.obj):(class llvm::Error __cdecl llvm::offloading::amdgpu::getAMDGPUMetaDataFromImage(class llvm::MemoryBufferRef, class llvm::StringMap<struct llvm::offloading::amdgpu::AMDGPUKernelMetaData, class llvm::MallocAllocator> &, unsigned short &))
lld-link: error: undefined symbol: public: class llvm::object::Elf_Note_Iterator_Impl<struct llvm::object::ELFType<1, 1>> __cdecl llvm::object::ELFFile<struct llvm::object::ELFType<1, 1>>::notes_begin(struct llvm::object::Elf_Shdr_Impl<struct llvm::object::ELFType<1, 1>> const &, class llvm::Error &) const
>>> referenced by LLVMFrontendOffloading.lib(Utility.cpp.obj):(class llvm::Error __cdecl llvm::offloading::amdgpu::getAMDGPUMetaDataFromImage(class llvm::MemoryBufferRef, class llvm::StringMap<struct llvm::offloading::amdgpu::AMDGPUKernelMetaData, class llvm::MallocAllocator> &, unsigned short &))
lld-link: error: undefined symbol: public: static class llvm::SmallString<0> __cdecl llvm::object::OffloadBinary::write(class llvm::ArrayRef<struct llvm::object::OffloadBinary::OffloadingImage>)
>>> referenced by LLVMFrontendOffloading.lib(Utility.cpp.obj):(class llvm::Error __cdecl llvm::offloading::containerizeImage(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>> &, class llvm::Triple, enum llvm::object::ImageKind, enum llvm::object::OffloadKind, int, class llvm::MapVector<class llvm::StringRef, class llvm::StringRef, class llvm::DenseMap<class llvm::StringRef, unsigned int, struct llvm::DenseMapInfo<class llvm::StringRef, void>, struct llvm::detail::DenseMapPair<class llvm::StringRef, unsigned int>>, class llvm::SmallVector<struct std::pair<class llvm::StringRef, class llvm::StringRef>, 0>, 0> &))
lld-link: error: undefined symbol: public: static class llvm::Expected<class std::unique_ptr<class llvm::object::Archive, struct std::default_delete<class llvm::object::Archive>>> __cdecl llvm::object::Archive::create(class llvm::MemoryBufferRef)
>>> referenced by clangDriver.lib(HIPUtility.cpp.obj):(private: void __cdecl HIPUndefinedFatBinSymbols::processInput(class llvm::MemoryBufferRef const &))
lld-link: error: undefined symbol: public: class llvm::fallible_iterator<class llvm::object::Archive::ChildFallibleIterator> __cdecl llvm::object::Archive::child_end(void) const
>>> referenced by clangDriver.lib(HIPUtility.cpp.obj):(private: void __cdecl HIPUndefinedFatBinSymbols::processInput(class llvm::MemoryBufferRef const &))
lld-link: error: undefined symbol: public: class llvm::fallible_iterator<class llvm::object::Archive::ChildFallibleIterator> __cdecl llvm::object::Archive::child_begin(class llvm::Error &, bool) const
>>> referenced by clangDriver.lib(HIPUtility.cpp.obj):(private: void __cdecl HIPUndefinedFatBinSymbols::processInput(class llvm::MemoryBufferRef const &))
lld-link: error: undefined symbol: public: class llvm::Expected<class llvm::MemoryBufferRef> __cdecl llvm::object::Archive::Child::getMemoryBufferRef(void) const
>>> referenced by clangDriver.lib(HIPUtility.cpp.obj):(private: void __cdecl HIPUndefinedFatBinSymbols::processInput(class llvm::MemoryBufferRef const &))
lld-link: error: undefined symbol: public: class llvm::Expected<class llvm::object::Archive::Child> __cdecl llvm::object::Archive::Child::getNext(void) const
>>> referenced by clangDriver.lib(HIPUtility.cpp.obj):(public: class llvm::Error __cdecl llvm::object::Archive::ChildFallibleIterator::inc(void))
lld-link: error: undefined symbol: public: class llvm::iterator_range<class llvm::object::content_iterator<class llvm::object::MachOChainedFixupEntry>> __cdecl llvm::object::MachOObjectFile::fixupTable(class llvm::Error &)
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(public: static class llvm::Expected<class std::unique_ptr<struct llvm::InstrProfCorrelator::Context, struct std::default_delete<struct llvm::InstrProfCorrelator::Context>>> __cdecl llvm::InstrProfCorrelator::Context::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, class llvm::object::ObjectFile &, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
lld-link: error: undefined symbol: public: bool __cdecl llvm::object::MachOChainedFixupEntry::operator==(class llvm::object::MachOChainedFixupEntry const &) const
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(public: static class llvm::Expected<class std::unique_ptr<struct llvm::InstrProfCorrelator::Context, struct std::default_delete<struct llvm::InstrProfCorrelator::Context>>> __cdecl llvm::InstrProfCorrelator::Context::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, class llvm::object::ObjectFile &, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(public: static class llvm::Expected<class std::unique_ptr<struct llvm::InstrProfCorrelator::Context, struct std::default_delete<struct llvm::InstrProfCorrelator::Context>>> __cdecl llvm::InstrProfCorrelator::Context::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, class llvm::object::ObjectFile &, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
lld-link: error: undefined symbol: public: void __cdecl llvm::object::MachOChainedFixupEntry::moveNext(void)
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(public: static class llvm::Expected<class std::unique_ptr<struct llvm::InstrProfCorrelator::Context, struct std::default_delete<struct llvm::InstrProfCorrelator::Context>>> __cdecl llvm::InstrProfCorrelator::Context::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, class llvm::object::ObjectFile &, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
lld-link: error: undefined symbol: public: class llvm::StringRef __cdecl llvm::object::MachOAbstractFixupEntry::segmentName(void) const
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(public: static class llvm::Expected<class std::unique_ptr<struct llvm::InstrProfCorrelator::Context, struct std::default_delete<struct llvm::InstrProfCorrelator::Context>>> __cdecl llvm::InstrProfCorrelator::Context::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, class llvm::object::ObjectFile &, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
lld-link: error: undefined symbol: public: class llvm::StringRef __cdecl llvm::object::MachOAbstractFixupEntry::sectionName(void) const
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(public: static class llvm::Expected<class std::unique_ptr<struct llvm::InstrProfCorrelator::Context, struct std::default_delete<struct llvm::InstrProfCorrelator::Context>>> __cdecl llvm::InstrProfCorrelator::Context::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, class llvm::object::ObjectFile &, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
lld-link: error: undefined symbol: public: unsigned __int64 __cdecl llvm::object::MachOAbstractFixupEntry::address(void) const
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(public: static class llvm::Expected<class std::unique_ptr<struct llvm::InstrProfCorrelator::Context, struct std::default_delete<struct llvm::InstrProfCorrelator::Context>>> __cdecl llvm::InstrProfCorrelator::Context::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, class llvm::object::ObjectFile &, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
lld-link: error: undefined symbol: public: static class llvm::Expected<class std::vector<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>, class std::allocator<class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>>>>> __cdecl llvm::object::MachOObjectFile::findDsymObjectMembers(class llvm::StringRef)
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(public: static class llvm::Expected<class std::unique_ptr<class llvm::InstrProfCorrelator, struct std::default_delete<class llvm::InstrProfCorrelator>>> __cdecl llvm::InstrProfCorrelator::get(class llvm::StringRef, enum llvm::InstrProfCorrelator::ProfCorrelatorKind, class llvm::object::BuildIDFetcher const *, class llvm::ArrayRef<class llvm::SmallVector<unsigned char, 10>>))
lld-link: error: undefined symbol: class llvm::Expected<class std::unique_ptr<class llvm::object::Binary, struct std::default_delete<class llvm::object::Binary>>> __cdecl llvm::object::createBinary(class llvm::MemoryBufferRef, class llvm::LLVMContext *, bool)
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(private: static class llvm::Expected<class std::unique_ptr<class llvm::InstrProfCorrelator, struct std::default_delete<class llvm::InstrProfCorrelator>>> __cdecl llvm::InstrProfCorrelator::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
lld-link: error: undefined symbol: public: class llvm::Triple __cdecl llvm::object::ObjectFile::makeTriple(void) const
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(private: static class llvm::Expected<class std::unique_ptr<class llvm::InstrProfCorrelator, struct std::default_delete<class llvm::InstrProfCorrelator>>> __cdecl llvm::InstrProfCorrelator::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
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/197875
More information about the llvm-commits
mailing list