[llvm] [SandboxVectorizer] Use sbvec-passes flag to create a pipeline of Region passes after BottomUpVec. (PR #111223)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 10:47:11 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/6516

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
56.839 [32/7/2636] Linking CXX executable bin/llvm-libtool-darwin
56.847 [32/6/2637] Linking CXX executable bin/llvm-split
56.851 [32/5/2638] Linking CXX executable bin/llvm-dwarfutil
56.859 [32/4/2639] Linking CXX executable bin/dsymutil
56.860 [32/3/2640] Linking CXX executable bin/llvm-isel-fuzzer
56.875 [32/2/2641] Linking CXX executable bin/bugpoint
56.903 [31/2/2642] Building CXX object tools/bugpoint-passes/CMakeFiles/BugpointPasses.dir/TestPasses.cpp.o
56.963 [30/2/2643] Linking CXX shared module lib/BugpointPasses.so
84.444 [30/1/2644] Building CXX object lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o
84.773 [29/1/2645] Linking CXX shared library lib/libLLVMPasses.so.20.0git
FAILED: lib/libLLVMPasses.so.20.0git 
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -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=gold   -Wl,--gc-sections -shared -Wl,-soname,libLLVMPasses.so.20.0git -o lib/libLLVMPasses.so.20.0git lib/Passes/CMakeFiles/LLVMPasses.dir/CodeGenPassBuilder.cpp.o lib/Passes/CMakeFiles/LLVMPasses.dir/OptimizationLevel.cpp.o lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilderBindings.cpp.o lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilderPipelines.cpp.o lib/Passes/CMakeFiles/LLVMPasses.dir/PassPlugin.cpp.o lib/Passes/CMakeFiles/LLVMPasses.dir/StandardInstrumentations.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib:"  lib/libLLVMCFGuard.so.20.0git  lib/libLLVMCodeGen.so.20.0git  lib/libLLVMCoroutines.so.20.0git  lib/libLLVMHipStdPar.so.20.0git  lib/libLLVMipo.so.20.0git  lib/libLLVMIRPrinter.so.20.0git  lib/libLLVMObjCARCOpts.so.20.0git  lib/libLLVMTarget.so.20.0git  lib/libLLVMVectorize.so.20.0git  lib/libLLVMInstrumentation.so.20.0git  lib/libLLVMScalarOpts.so.20.0git  lib/libLLVMAggressiveInstCombine.so.20.0git  lib/libLLVMInstCombine.so.20.0git  lib/libLLVMTransformUtils.so.20.0git  lib/libLLVMAnalysis.so.20.0git  lib/libLLVMCore.so.20.0git  lib/libLLVMSupport.so.20.0git  -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib && :
lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o:PassBuilder.cpp:function llvm::detail::PassModel<llvm::Function, llvm::SandboxVectorizerPass, llvm::AnalysisManager<llvm::Function>>::~PassModel(): error: undefined reference to 'vtable for llvm::sandboxir::Pass'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o:PassBuilder.cpp:function llvm::detail::PassModel<llvm::Function, llvm::SandboxVectorizerPass, llvm::AnalysisManager<llvm::Function>>::~PassModel(): error: undefined reference to 'vtable for llvm::sandboxir::Pass'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o:PassBuilder.cpp:function llvm::sandboxir::BottomUpVec::BottomUpVec(llvm::sandboxir::BottomUpVec&&): error: undefined reference to 'vtable for llvm::sandboxir::Pass'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o:PassBuilder.cpp:function llvm::sandboxir::BottomUpVec::BottomUpVec(llvm::sandboxir::BottomUpVec&&): error: undefined reference to 'vtable for llvm::sandboxir::RegionPassManager'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o:PassBuilder.cpp:function llvm::ModuleToFunctionPassAdaptor llvm::createModuleToFunctionPassAdaptor<llvm::SandboxVectorizerPass>(llvm::SandboxVectorizerPass&&, bool): error: undefined reference to 'vtable for llvm::sandboxir::Pass'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/111223


More information about the llvm-commits mailing list