[PATCH] D87974: [Builtin] Add __builtin_zero_non_value_bits.
Zoe Carver via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 30 17:57:57 PDT 2020
zoecarver marked an inline comment as done.
zoecarver added inline comments.
================
Comment at: clang/test/CodeGenCXX/builtin-zero-non-value-bits-codegen.cpp:46
+void test(Baz *baz) {
+ __builtin_zero_non_value_bits(baz);
+}
----------------
zoecarver wrote:
> jfb wrote:
> > It would be useful to see a test for arrays with a type that contains tail padding.
> Hmm, this test case doesn't seem to be working. I'll investigate further.
OK, I've added that. Just to clarify, you mean a type that contains a constant array type of types with tail padding (i.e., `Bar [2]`)?
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