[libcxx-commits] [libcxx] [libcxx] Use generic builtins for popcount, clz and ctz (PR #86563)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 27 13:01:39 PDT 2024


================
@@ -6,6 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+// ToDo: __builtin_clzg is available since Clang 19 and GCC 14. When support for older versions is dropped, we can
----------------
mordante wrote:

Please fix all occurrences. This is how we write them in libc++.
```suggestion
// TODO: __builtin_clzg is available since Clang 19 and GCC 14. When support for older versions is dropped, we can
```

https://github.com/llvm/llvm-project/pull/86563


More information about the libcxx-commits mailing list