[libc-commits] [libc] [libc] Further optimize memchr (PR #245722)

Aiden Grossman via libc-commits libc-commits at lists.llvm.org
Wed Nov 25 21:41:46 PST 2026


boomanaiden154 wrote:

Updated this PR to fix an issue where the optimizations actually enabled us to read into the next page when we shouldn't (Thanks @lntue for sending over the reproducer). I've kept a test for this case just in case someone goes modifying the implementation again even though this should be NFC.

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


More information about the libc-commits mailing list