[PATCH] D50233: [InstCombine] Transform str(n)cmp to memcmp

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 14:05:23 PDT 2018


xbolva00 updated this revision to Diff 159085.
xbolva00 added a comment.

- Use isDereferenceableAndAlignedPointer


https://reviews.llvm.org/D50233

Files:
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/strcmp-memcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50233.159085.patch
Type: text/x-patch
Size: 32133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180803/6369f87e/attachment.bin>


More information about the llvm-commits mailing list