[PATCH] D50815: Establish the <bit> header

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 15 23:40:54 PDT 2018


craig.topper added inline comments.


================
Comment at: include/bit:163
+  static_assert(sizeof(unsigned long long) == 8, "");
+  return __popcnt64(__x);
+#endif
----------------
I don't think __popcnt64 exists in MSVC when targeting 32-bit mode.


https://reviews.llvm.org/D50815





More information about the cfe-commits mailing list