[libcxx-commits] [libcxx] [libc++] Assume separate storage in vector (PR #225325)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 7 06:53:10 PDT 2026


================
@@ -10,6 +10,7 @@
 #define _LIBCPP___UTILITY_ASSUME_H
----------------
philnik777 wrote:

I wasn't able to find any case where `__builtin_assume_dereferenceable` affects CodeGen for `vector<int>`, so I'm not quite sure where the difference is coming from. Though notably, the difference seems to be a constant, since the 8192 version has a very similar difference.

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


More information about the libcxx-commits mailing list