[llvm] [VPlan] Remove no-op SCALAR-STEPS after unrolling. (PR #123655)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 25 06:07:34 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `polly-x86_64-linux-plugin` running on `polly-x86_64-gce1` while building `llvm` at step 5 "build".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/158/builds/7359
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build) failure: 'ninja' (failure)
...
[31/121] Linking CXX executable bin/clang-format
[32/121] Linking CXX static library lib/libLLVMVectorize.a
[33/121] Linking CXX executable bin/clang-offload-bundler
[34/121] Linking CXX static library lib/libLLVMLTO.a
[35/121] Linking CXX executable bin/clang-fuzzer-dictionary
[36/121] Linking CXX executable bin/diagtool
[37/121] Linking CXX executable bin/clang-refactor
[38/121] Linking CXX executable bin/clang-diff
[39/121] Linking CXX executable bin/clang-installapi
[40/121] Linking CXX executable bin/llvm-lto
FAILED: bin/llvm-lto
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections tools/llvm-lto/CMakeFiles/llvm-lto.dir/llvm-lto.cpp.o -o bin/llvm-lto -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMX86AsmParser.a lib/libLLVMX86CodeGen.a lib/libLLVMNVPTXCodeGen.a lib/libLLVMX86Desc.a lib/libLLVMNVPTXDesc.a lib/libLLVMX86Info.a lib/libLLVMNVPTXInfo.a lib/libLLVMBitReader.a lib/libLLVMBitWriter.a lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMIRReader.a lib/libLLVMipo.a lib/libLLVMLTO.a lib/libLLVMMC.a lib/libLLVMObject.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMTargetParser.a lib/libLLVMMCDisassembler.a lib/libLLVMGlobalISel.a lib/libLLVMAsmPrinter.a lib/libLLVMSelectionDAG.a lib/libLLVMExtensions.a lib/libLLVMPasses.a lib/libLLVMCodeGen.a lib/libLLVMCodeGenTypes.a lib/libLLVMCGData.a lib/libLLVMTarget.a lib/libLLVMCFGuard.a lib/libLLVMIRPrinter.a lib/libLLVMObjCARCOpts.a lib/libLLVMCoroutines.a lib/libLLVMipo.a lib/libLLVMBitWriter.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMSandboxIR.a lib/libLLVMFrontendOpenMP.a lib/libLLVMFrontendOffloading.a lib/libLLVMObjectYAML.a lib/libLLVMFrontendAtomic.a lib/libLLVMLinker.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMHipStdPar.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMTextAPI.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lm /usr/lib/x86_64-linux-gnu/libz.so && :
ld.lld: error: undefined symbol: llvm::VPUnrollPartAccessor<2u>::getUnrollPart(llvm::VPUser&) const
>>> referenced by VPlanTransforms.cpp
>>> VPlanTransforms.cpp.o:(llvm::VPlanTransforms::simplifyRecipes(llvm::VPlan&, llvm::Type&) (.localalias)) in archive lib/libLLVMVectorize.a
collect2: error: ld returned 1 exit status
[41/121] Linking CXX shared library lib/libLTO.so.21.0git
FAILED: lib/libLTO.so.21.0git
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections -Wl,--version-script,"/home/worker/buildbot-workers/polly-x86_64-gce1/rundir/llvm.obj/tools/lto/LTO.exports" -shared -Wl,-soname,libLTO.so.21.0git -o lib/libLTO.so.21.0git tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o tools/lto/CMakeFiles/LTO.dir/lto.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMX86AsmParser.a lib/libLLVMX86CodeGen.a lib/libLLVMNVPTXCodeGen.a lib/libLLVMX86Desc.a lib/libLLVMNVPTXDesc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMNVPTXInfo.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMCodeGen.a lib/libLLVMLTO.a lib/libLLVMMC.a lib/libLLVMMCDisassembler.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMTargetParser.a lib/libLLVMGlobalISel.a lib/libLLVMAsmPrinter.a lib/libLLVMSelectionDAG.a lib/libLLVMExtensions.a lib/libLLVMPasses.a lib/libLLVMCodeGen.a lib/libLLVMCodeGenTypes.a lib/libLLVMCGData.a lib/libLLVMTarget.a lib/libLLVMCFGuard.a lib/libLLVMIRPrinter.a lib/libLLVMObjCARCOpts.a lib/libLLVMCoroutines.a lib/libLLVMipo.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMSandboxIR.a lib/libLLVMBitWriter.a lib/libLLVMLinker.a lib/libLLVMFrontendOpenMP.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMFrontendOffloading.a lib/libLLVMObjectYAML.a lib/libLLVMFrontendAtomic.a lib/libLLVMHipStdPar.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lm /usr/lib/x86_64-linux-gnu/libz.so && :
ld.lld: error: undefined symbol: llvm::VPUnrollPartAccessor<2u>::getUnrollPart(llvm::VPUser&) const
>>> referenced by VPlanTransforms.cpp
>>> VPlanTransforms.cpp.o:(llvm::VPlanTransforms::simplifyRecipes(llvm::VPlan&, llvm::Type&) (.localalias)) in archive lib/libLLVMVectorize.a
collect2: error: ld returned 1 exit status
[42/121] Linking CXX executable bin/clang-linker-wrapper
[43/121] Linking CXX executable bin/clang-21
FAILED: bin/clang-21
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fuse-ld=lld -Wl,--color-diagnostics -Wl,--export-dynamic tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -o bin/clang-21 -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMX86CodeGen.a lib/libLLVMX86AsmParser.a lib/libLLVMX86Desc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMNVPTXCodeGen.a lib/libLLVMNVPTXDesc.a lib/libLLVMNVPTXInfo.a lib/libLLVMAnalysis.a lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMipo.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMInstrumentation.a lib/libLLVMMC.a lib/libLLVMMCParser.a lib/libLLVMObjCARCOpts.a lib/libLLVMOption.a lib/libLLVMScalarOpts.a lib/libLLVMSupport.a lib/libLLVMTargetParser.a lib/libLLVMTransformUtils.a lib/libLLVMVectorize.a lib/libclangBasic.a lib/libclangCodeGen.a lib/libclangDriver.a lib/libclangFrontend.a lib/libclangFrontendTool.a lib/libclangSerialization.a lib/libLLVMGlobalISel.a lib/libLLVMMCDisassembler.a lib/libLLVMAsmPrinter.a lib/libLLVMSelectionDAG.a lib/libclangCodeGen.a lib/libLLVMCoverage.a lib/libLLVMFrontendDriver.a lib/libLLVMLTO.a lib/libLLVMExtensions.a lib/libLLVMPasses.a lib/libLLVMCodeGen.a lib/libLLVMCodeGenTypes.a lib/libLLVMCGData.a lib/libLLVMObjCARCOpts.a lib/libLLVMCFGuard.a lib/libLLVMIRPrinter.a lib/libLLVMTarget.a lib/libLLVMCoroutines.a lib/libLLVMipo.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMSandboxIR.a lib/libLLVMBitWriter.a lib/libLLVMLinker.a lib/libLLVMHipStdPar.a lib/libclangExtractAPI.a lib/libclangIndex.a lib/libclangFormat.a lib/libclangToolingInclusions.a lib/libclangToolingCore.a lib/libclangInstallAPI.a lib/libLLVMTextAPIBinaryReader.a lib/libclangRewriteFrontend.a lib/libclangFrontend.a lib/libclangDriver.a lib/libLLVMWindowsDriver.a lib/libLLVMOption.a lib/libclangParse.a lib/libclangSerialization.a lib/libclangSema.a lib/libclangAnalysis.a lib/libclangASTMatchers.a lib/libLLVMFrontendHLSL.a lib/libclangAPINotes.a lib/libclangSupport.a lib/libclangEdit.a lib/libclangAST.a lib/libclangRewrite.a lib/libclangLex.a lib/libclangBasic.a lib/libLLVMFrontendOpenMP.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMFrontendOffloading.a lib/libLLVMTransformUtils.a lib/libLLVMObjectYAML.a lib/libLLVMFrontendAtomic.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMTextAPI.a lib/libLLVMCore.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lm /usr/lib/x86_64-linux-gnu/libz.so && :
ld.lld: error: undefined symbol: llvm::VPUnrollPartAccessor<2u>::getUnrollPart(llvm::VPUser&) const
>>> referenced by VPlanTransforms.cpp
>>> VPlanTransforms.cpp.o:(llvm::VPlanTransforms::simplifyRecipes(llvm::VPlan&, llvm::Type&) (.localalias)) in archive lib/libLLVMVectorize.a
collect2: error: ld returned 1 exit status
[44/121] Linking CXX executable bin/clang-nvlink-wrapper
FAILED: bin/clang-nvlink-wrapper
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections tools/clang/tools/clang-nvlink-wrapper/CMakeFiles/clang-nvlink-wrapper.dir/ClangNVLinkWrapper.cpp.o -o bin/clang-nvlink-wrapper -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMX86CodeGen.a lib/libLLVMX86AsmParser.a lib/libLLVMX86Desc.a lib/libLLVMX86Disassembler.a lib/libLLVMX86Info.a lib/libLLVMNVPTXCodeGen.a lib/libLLVMNVPTXDesc.a lib/libLLVMNVPTXInfo.a lib/libLLVMBitWriter.a lib/libLLVMCore.a lib/libLLVMBinaryFormat.a lib/libLLVMMC.a lib/libLLVMTarget.a lib/libLLVMTransformUtils.a lib/libLLVMAnalysis.a lib/libLLVMPasses.a lib/libLLVMIRReader.a lib/libLLVMObject.a lib/libLLVMOption.a lib/libLLVMSupport.a lib/libLLVMTargetParser.a lib/libLLVMCodeGen.a lib/libLLVMLTO.a lib/libclangBasic.a lib/libLLVMGlobalISel.a lib/libLLVMMCDisassembler.a lib/libLLVMAsmPrinter.a lib/libLLVMSelectionDAG.a lib/libLLVMPasses.a lib/libLLVMCFGuard.a lib/libLLVMIRPrinter.a lib/libLLVMCoroutines.a lib/libLLVMHipStdPar.a lib/libLLVMCodeGen.a lib/libLLVMTarget.a lib/libLLVMCodeGenTypes.a lib/libLLVMipo.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMSandboxIR.a lib/libLLVMObjCARCOpts.a lib/libLLVMCGData.a lib/libLLVMBitWriter.a lib/libLLVMExtensions.a lib/libLLVMLinker.a lib/libLLVMFrontendOpenMP.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMFrontendOffloading.a lib/libLLVMTransformUtils.a lib/libLLVMObjectYAML.a lib/libLLVMFrontendAtomic.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMAsmParser.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lm /usr/lib/x86_64-linux-gnu/libz.so && :
ld.lld: error: undefined symbol: llvm::VPUnrollPartAccessor<2u>::getUnrollPart(llvm::VPUser&) const
>>> referenced by VPlanTransforms.cpp
>>> VPlanTransforms.cpp.o:(llvm::VPlanTransforms::simplifyRecipes(llvm::VPlan&, llvm::Type&) (.localalias)) in archive lib/libLLVMVectorize.a
collect2: error: ld returned 1 exit status
[45/121] Linking CXX executable bin/clang-import-test
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/123655
More information about the llvm-commits
mailing list