aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2023-05-04 00:21:18 +0100
committerJon Chesterfield <jonathanchesterfield@gmail.com>2023-05-04 00:21:19 +0100
commit218b50a606370b176ef776ff98cdb8b21b54277f (patch)
treefec96d468318519344b6f4439b2a8fbbffb85da8 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentabdb5e041ce2b2abee6d46865d91692e634a5648 (diff)
downloadllvm-218b50a606370b176ef776ff98cdb8b21b54277f.zip
llvm-218b50a606370b176ef776ff98cdb8b21b54277f.tar.gz
llvm-218b50a606370b176ef776ff98cdb8b21b54277f.tar.bz2
[libc][rpc] Simplify mailbox state tracking
Removes the redundant Ack/Data bit manipulation. Represents the inbox/outbox state with one bit instead of two. This will be useful if we change to a packed representation and otherwise cuts the runtime state space from 16 to 4. Further simplification is possible, this patch is intentionally minimal. - can_{send,recv}_data are now in == out - {client,server}::try_open can be factored into Process:try_open This implements the state machine of D148191, modulo differences in atomic ordering and fences. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D149788
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions