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

Martin Sebor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 15:42:57 PDT 2022


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

Add more context.


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/strncmp-5.ll
  llvm/test/Transforms/InstCombine/strncmp-6.ll

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


More information about the llvm-commits mailing list