[PATCH] D142550: Fix sizeof of boolean vector

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 25 08:25:10 PST 2023


erichkeane added inline comments.


================
Comment at: clang/test/SemaCXX/vector-bool.cpp:97
+  using NineBools = bool __attribute__((ext_vector_type(9)));
+  using ABunchOfBools = bool __attribute__((ext_vector_type(28)));
   static_assert(sizeof(FourBools) == 1);
----------------
How about 33?  Does it grow appropriately with alignment?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142550



More information about the cfe-commits mailing list