[PATCH] D123472: [SimplifyLibCalls] avoid slicing 64-bit integers in an ILP32 build (PR #54739)

Martin Sebor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 12:13:22 PDT 2022


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

This revision adds the suggested `substr` helper function.


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

https://reviews.llvm.org/D123472

Files:
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/memchr-4.ll
  llvm/test/Transforms/InstCombine/strncmp-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123472.421998.patch
Type: text/x-patch
Size: 7558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220411/47725382/attachment.bin>


More information about the llvm-commits mailing list