[libc-commits] [PATCH] D150516: [libc] Cache ownership of the shared buffer in the port

Jon Chesterfield via Phabricator via libc-commits libc-commits at lists.llvm.org
Sun May 14 07:24:27 PDT 2023


JonChesterfield accepted this revision.
JonChesterfield added a comment.
This revision is now accepted and ready to land.

LG. I think the expected use case of this port is an object that gets disassembled by SROA so there's a decent chance the extra boolean is removed before codegen.



================
Comment at: libc/src/__support/RPC/rpc.h:343
   uint64_t index;
   uint32_t out;
   bool receive;
----------------
This out field could be a bool too, it's a similar sort of thing to receive/owns_buffer


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150516/new/

https://reviews.llvm.org/D150516



More information about the libc-commits mailing list