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

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 7 04:49:36 PDT 2018


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

- Use std::min


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.159485.patch
Type: text/x-patch
Size: 20506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180807/1a01c0ae/attachment.bin>


More information about the llvm-commits mailing list