[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 26 13:46:08 PDT 2022


msebor updated this revision to Diff 425294.
msebor added a comment.

Remove bounds check on the assumption it's valid.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123631/new/

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.425294.patch
Type: text/x-patch
Size: 4950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220426/43220464/attachment-0001.bin>


More information about the llvm-commits mailing list