[PATCH] D123631: [InstCombine] Fold memrchr calls with sequences of identical bytes.
Martin Sebor via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 13:41:02 PDT 2022
msebor created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
msebor requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This change implements folding of `memrchr` calls with sequences of identical characters.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123631
Files:
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/memrchr-4.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123631.422325.patch
Type: text/x-patch
Size: 5251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220412/c0c72e92/attachment.bin>
More information about the llvm-commits
mailing list