[PATCH] D123819: [InstCombine] Fold strlen and strnlen recursively.

Martin Sebor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 13:35:25 PDT 2022


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

Patch rebased on top of the latest trunk, including all dependencies.


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

https://reviews.llvm.org/D123819

Files:
  llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/strlen-4.ll
  llvm/test/Transforms/InstCombine/strnlen-2.ll
  llvm/test/Transforms/InstCombine/strnlen-3.ll
  llvm/test/Transforms/InstCombine/strnlen-4.ll
  llvm/test/Transforms/InstCombine/strnlen-5.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123819.425598.patch
Type: text/x-patch
Size: 28256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220427/5c52eb1c/attachment-0001.bin>


More information about the llvm-commits mailing list