[llvm] RuntimeLibcalls: Add bitset for available libcalls (PR #150869)
Roger Ferrer Ibáñez via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 11:34:57 PDT 2025
================
@@ -597,23 +602,47 @@ void RuntimeLibcallEmitter::emitSystemRuntimeLibrarySetCalls(
continue;
}
+ size_t BitIdx = LibCallImpl->getEnumVal();
----------------
rofirrim wrote:
Maybe I understood this wrong, but given
https://github.com/llvm/llvm-project/blob/e3620fe0685c656915977d55f822a82090041965/llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp#L261-L264
shouldn't we do `LibCallImpl->getEnumVal() - 1` instead?
https://github.com/llvm/llvm-project/pull/150869
More information about the llvm-commits
mailing list