[PATCH] D129224: [InstCombine] Fold strtoul and strtoull and avoid PR #56293

Martin Sebor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 12 11:53:16 PDT 2022


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

Revision 5 with an expanded comment explaining why sequences that end parsing prior to the terminating nul are not accepted.


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

https://reviews.llvm.org/D129224

Files:
  llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/str-int-2.ll
  llvm/test/Transforms/InstCombine/str-int-4.ll
  llvm/test/Transforms/InstCombine/str-int-5.ll
  llvm/test/Transforms/InstCombine/str-int.ll
  llvm/test/Transforms/InstCombine/strcall-no-nul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129224.444033.patch
Type: text/x-patch
Size: 49026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220712/8bca2d40/attachment.bin>


More information about the llvm-commits mailing list