[clang] [llvm] RuntimeLibcalls: Move VectorLibrary handling into TargetOptions (PR #167996)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 14 15:58:31 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-dylib` running on `bolt-worker` while building `clang,cross-project-tests,llvm` at step 5 "build-bolt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/119/builds/7327
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-bolt) failure: build (failure)
...
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include/llvm/IR/RuntimeLibcalls.inc:23168:57: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
23168 | setLibcallImplCallingConv(Impl, TT.isWatchABI() ? DefaultCC :
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
23169 | (isAAPCS_ABI(TT, ABIName) ? CallingConv::ARM_AAPCS : CallingConv::ARM_APCS));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8.591 [1646/18/530] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CallBrPrepare.cpp.o
8.847 [1645/18/531] Building X86GenDAGISel.inc...
8.880 [1644/18/532] Building X86GenSubtargetInfo.inc...
8.967 [1643/18/533] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AllocationOrder.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AllocationOrder.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/lib/CodeGen -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include -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-array-bounds -Wno-stringop-overread -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 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AllocationOrder.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AllocationOrder.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AllocationOrder.cpp.o -c /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen/AllocationOrder.cpp
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:35,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen/AllocationOrder.cpp:17:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/Target/TargetOptions.h:414:17: error: declaration of ‘llvm::VectorLibrary llvm::TargetOptions::VectorLibrary’ changes meaning of ‘VectorLibrary’ [-fpermissive]
414 | VectorLibrary VectorLibrary = VectorLibrary::NoLibrary;
| ^~~~~~~~~~~~~
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/Target/TargetOptions.h:18,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:35,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen/AllocationOrder.cpp:17:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/IR/SystemLibraries.h:20:12: note: ‘VectorLibrary’ declared here as ‘enum class llvm::VectorLibrary’
20 | enum class VectorLibrary {
| ^~~~~~~~~~~~~
10.167 [1643/17/534] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BreakFalseDeps.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BreakFalseDeps.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/lib/CodeGen -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include -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-array-bounds -Wno-stringop-overread -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 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BreakFalseDeps.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BreakFalseDeps.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BreakFalseDeps.cpp.o -c /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen/BreakFalseDeps.cpp
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:35,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/MachineFunctionPass.h:21,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen/BreakFalseDeps.cpp:22:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/Target/TargetOptions.h:414:17: error: declaration of ‘llvm::VectorLibrary llvm::TargetOptions::VectorLibrary’ changes meaning of ‘VectorLibrary’ [-fpermissive]
414 | VectorLibrary VectorLibrary = VectorLibrary::NoLibrary;
| ^~~~~~~~~~~~~
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/Target/TargetOptions.h:18,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:35,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/MachineFunctionPass.h:21,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen/BreakFalseDeps.cpp:22:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/IR/SystemLibraries.h:20:12: note: ‘VectorLibrary’ declared here as ‘enum class llvm::VectorLibrary’
20 | enum class VectorLibrary {
| ^~~~~~~~~~~~~
10.406 [1643/16/535] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/lib/CodeGen -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include -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-array-bounds -Wno-stringop-overread -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 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o -c /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:35,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/MachinePassManager.h:26,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/CodeGen/BranchRelaxation.h:12,
from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:9:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include/llvm/Target/TargetOptions.h:414:17: error: declaration of ‘llvm::VectorLibrary llvm::TargetOptions::VectorLibrary’ changes meaning of ‘VectorLibrary’ [-fpermissive]
414 | VectorLibrary VectorLibrary = VectorLibrary::NoLibrary;
| ^~~~~~~~~~~~~
```
</details>
https://github.com/llvm/llvm-project/pull/167996
More information about the llvm-commits
mailing list