[libcxx-commits] [PATCH] D128146: [libc++] Use uninitialized algorithms for vector
Vitaly Buka via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 4 09:14:18 PDT 2022
vitalybuka added a comment.
> @vitalybuka This isn't unexpected. `-fno-inline` disables inlining, which is essential for a lot of other optimizations. Using `-fno-inline` pretty much defeats the optimizer: https://godbolt.org/z/zrE5o1WK1.
I am more concerned about sanitizers
https://godbolt.org/z/1x9qjGG19 Near LBB11_5 we have now __asan_memcpy per every "P", before it was for entire vector.
I assume some additional improvement in instrumentation are possible, maybe replacing fixed short asan_memcpy with check/load/store. Or even optimizing asan_memcpy itself.
But still maybe some ideas if it's solvable on libc++ level so we rely less on optimizations?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128146/new/
https://reviews.llvm.org/D128146
More information about the libcxx-commits
mailing list