[PATCH] D128089: [InstCombine] Fold strncmp of constant arrays and variable size

Martin Sebor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 15:00:14 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8827679826b8: [InstCombine] Fold strncmp of constant arrays and variable size (authored by msebor).

Changed prior to commit:
  https://reviews.llvm.org/D128089?vs=438721&id=440783#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128089

Files:
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/memcmp-4.ll
  llvm/test/Transforms/InstCombine/strncmp-5.ll
  llvm/test/Transforms/InstCombine/strncmp-6.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128089.440783.patch
Type: text/x-patch
Size: 27145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220628/f48158e8/attachment.bin>


More information about the llvm-commits mailing list