[PATCH] D128011: [SimplifyLibCalls] Transform memchr(STR, C, N) to chain of ORs
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 12:11:12 PDT 2022
xbolva00 added a comment.
>> We don't want to limit the total number of characters being checked, but rather the number of of non-contiguous ranges.
I believe there is no easy StringRef API, right? Not sure if I want to work on such new API.
For now, I would go with GCC's limit of 8.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128011/new/
https://reviews.llvm.org/D128011
More information about the llvm-commits
mailing list