[PATCH] D123626: [InstCombine] Fold memrchr calls with constant size of zero or one.

Martin Sebor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 16:06:26 PDT 2022


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

Add context.


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

https://reviews.llvm.org/D123626

Files:
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/memrchr-2.ll
  llvm/test/Transforms/InstCombine/memrchr-3.ll
  llvm/test/Transforms/InstCombine/memrchr-4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123626.422355.patch
Type: text/x-patch
Size: 15917 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220412/f014671a/attachment.bin>


More information about the llvm-commits mailing list