[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
Fri Apr 7 01:25:54 PDT 2023
xbolva00 updated this revision to Diff 511638.
xbolva00 added a comment.
Herald added subscribers: StephenFan, mgrang.
Restrict transformation based on the number of of non-contiguous ranges.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128011/new/
https://reviews.llvm.org/D128011
Files:
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/memchr-7.ll
llvm/test/Transforms/InstCombine/memchr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128011.511638.patch
Type: text/x-patch
Size: 6879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230407/68c094df/attachment.bin>
More information about the llvm-commits
mailing list