[PATCH] D128954: [InstCombine] Transform strrchr to memrchr for constant strings

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


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0d68ff87d2b0: [InstCombine] Transform strrchr to memrchr for constant strings (authored by msebor).

Changed prior to commit:
  https://reviews.llvm.org/D128954?vs=441528&id=441733#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128954

Files:
  llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
  llvm/lib/Transforms/Utils/BuildLibCalls.cpp
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/strcall-no-nul.ll
  llvm/test/Transforms/InstCombine/strrchr-1.ll
  llvm/test/Transforms/InstCombine/strrchr-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128954.441733.patch
Type: text/x-patch
Size: 7876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220701/3e8a2ed2/attachment.bin>


More information about the llvm-commits mailing list