[clang] [llvm] RuntimeLibcalls: Move VectorLibrary handling into TargetOptions (PR #167996)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 14 11:47:11 PST 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 `clang,cross-project-tests,llvm` at step 5 "build".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/158/builds/12011
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build) failure: 'ninja' (failure)
...
[717/4393] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenData.cpp.o
[718/4393] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenDataReader.cpp.o
[719/4393] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/CodeGenDataWriter.cpp.o
[720/4393] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/OutlinedHashTree.cpp.o
[721/4393] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/OutlinedHashTreeRecord.cpp.o
[722/4393] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/StableFunctionMap.cpp.o
[723/4393] Building CXX object lib/CGData/CMakeFiles/LLVMCGData.dir/StableFunctionMapRecord.cpp.o
[724/4393] Building X86GenFoldTables.inc...
[725/4393] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AssignmentTrackingAnalysis.cpp.o
[726/4393] 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 -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/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.obj/lib/CodeGen -I/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/lib/CodeGen -I/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.obj/include -I/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/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-dangling-reference -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 -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -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 /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/lib/CodeGen/AllocationOrder.cpp
In file included from /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/include/llvm/CodeGen/MachineFunction.h:35,
from /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/lib/CodeGen/AllocationOrder.cpp:17:
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/include/llvm/Target/TargetOptions.h:414:17: error: declaration of ‘llvm::VectorLibrary llvm::TargetOptions::VectorLibrary’ changes meaning of ‘VectorLibrary’ [-Wchanges-meaning]
414 | VectorLibrary VectorLibrary = VectorLibrary::NoLibrary;
| ^~~~~~~~~~~~~
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/include/llvm/Target/TargetOptions.h:414:3: note: used here to mean ‘enum class llvm::VectorLibrary’
414 | VectorLibrary VectorLibrary = VectorLibrary::NoLibrary;
| ^~~~~~~~~~~~~
In file included from /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/include/llvm/Target/TargetOptions.h:18:
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/include/llvm/IR/SystemLibraries.h:20:12: note: declared here
20 | enum class VectorLibrary {
| ^~~~~~~~~~~~~
[727/4393] Building X86GenFastISel.inc...
[728/4393] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/RuntimeLibcalls.cpp.o
In file included from /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/lib/IR/RuntimeLibcalls.cpp:27:
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.obj/include/llvm/IR/RuntimeLibcalls.inc: In member function ‘void llvm::RTLIB::RuntimeLibcallsInfo::setTargetRuntimeLibcallSets(const llvm::Triple&, llvm::ExceptionHandling, llvm::FloatABI::ABIType, llvm::EABI, llvm::StringRef)’:
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.obj/include/llvm/IR/RuntimeLibcalls.inc:23140:57: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
23140 | setLibcallImplCallingConv(Impl, TT.isWatchABI() ? DefaultCC :
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
23141 | (isAAPCS_ABI(TT, ABIName) ? CallingConv::ARM_AAPCS : CallingConv::ARM_APCS));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.obj/include/llvm/IR/RuntimeLibcalls.inc:23153:57: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
23153 | setLibcallImplCallingConv(Impl, TT.isWatchABI() ? DefaultCC :
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
23154 | (isAAPCS_ABI(TT, ABIName) ? CallingConv::ARM_AAPCS : CallingConv::ARM_APCS));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.obj/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));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[729/4393] Building X86GenDAGISel.inc...
[730/4393] Building X86GenGlobalISel.inc...
[731/4393] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AggressiveAntiDepBreaker.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AggressiveAntiDepBreaker.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -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/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.obj/lib/CodeGen -I/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/lib/CodeGen -I/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.obj/include -I/srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/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-dangling-reference -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 -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AggressiveAntiDepBreaker.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AggressiveAntiDepBreaker.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AggressiveAntiDepBreaker.cpp.o -c /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
In file included from /srv/bbworker/polly-x86_64-gce1/polly-x86_64-linux-plugin/llvm.src/llvm/include/llvm/CodeGen/MachineFunction.h:35,
```
</details>
https://github.com/llvm/llvm-project/pull/167996
More information about the cfe-commits
mailing list