[SimplifyLibCalls] Fold memchr() with size 1
If the memchr() size is 1, then we can convert the call into a single-byte comparison. This works even if both the string and the character are unknown. Split off from https://reviews.llvm.org/D122836.
parent
0f088757
Please register or sign in to comment