diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2023-05-11 00:39:54 +0100 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2023-05-11 00:41:51 +0100 |
commit | f497611f436cbf5ae0157edcf498f62a136799cb (patch) | |
tree | 9e27d72e406e4979b710ffa943ae5c554d2d233f /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 958a3d8e2dec95a878dfc9d823861b3a6c674534 (diff) | |
download | llvm-f497611f436cbf5ae0157edcf498f62a136799cb.zip llvm-f497611f436cbf5ae0157edcf498f62a136799cb.tar.gz llvm-f497611f436cbf5ae0157edcf498f62a136799cb.tar.bz2 |
[libc][rpc] Allocate locks array within process
Replaces the globals currently used. Worth changing to a bitmap
before allowing runtime number of ports >> 64. One bit per port is likely
to be cheap enough that sizing for the worst case is always fine, otherwise
in the future we can change to dynamically allocating it.
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D150309
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions