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

Martin Sebor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 08:08:30 PDT 2022


msebor added a comment.

In D129224#3690668 <https://reviews.llvm.org/D129224#3690668>, @alexfh wrote:

> 

Thanks for the test case!  The bug is in skipping over the leading part of the string up to the first digit and not accounting for it in the `end` pointer.  It should be straightforward to fix.  I'll take care of it today.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129224



More information about the llvm-commits mailing list