[PATCH] D87974: [Builtin] Add __builtin_zero_non_value_bits.
Billy Robert O'Neal III via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 7 18:53:26 PST 2020
BillyONeal added a comment.
> Are they actually the same, with the same handling of corner cases like unions and tail padding?
> There's more to this than just the name, and if they aren't the same, it seems better to have two names.
They are both implementing the same C++ feature, with the same desired semantics of zeroing out any bits in the object representation that aren't in the value representation. If they differ, one or the other would have a bug.
> Is there a specification for __builtin_zero_non_value_bits available somewhere?
I don't know if there is a formal spec for it beyond the actual C++ standard.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87974/new/
https://reviews.llvm.org/D87974
More information about the cfe-commits
mailing list