[PATCH] D128939: [InstCombine] Fold memchr and strchr equality with first argument

Martin Sebor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 1 10:43:30 PDT 2022


msebor updated this revision to Diff 441743.
msebor marked 3 inline comments as done.
msebor added a comment.

Changes in revision 2 of the patch:

- Fix spelling/typos.
- Rebase on top of latest trunk with tests precommitted in rGd8b22243c8e9 <https://reviews.llvm.org/rGd8b22243c8e97181b81993e8e714539d6b73ff27>.


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

https://reviews.llvm.org/D128939

Files:
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/memchr-11.ll
  llvm/test/Transforms/InstCombine/strchr-4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128939.441743.patch
Type: text/x-patch
Size: 10655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220701/655d98d6/attachment.bin>


More information about the llvm-commits mailing list