[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 26 13:03:27 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG10c99ce67d54: [InstCombine] Fold memrchr calls with constant size, bail on excessive. (authored by msebor).

Changed prior to commit:
  https://reviews.llvm.org/D123626?vs=422355&id=425291#toc

Repository:
  rG LLVM Github Monorepo

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.425291.patch
Type: text/x-patch
Size: 18510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220426/78683bd3/attachment.bin>


More information about the llvm-commits mailing list