[PATCH] D34904: [CGP] use subtract of cmps for result of memcmp expansion

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 7 09:08:31 PDT 2017


spatel updated this revision to Diff 105649.
spatel added a comment.

Patch updated:
Bypass the compares for i8/i16:
http://rise4fun.com/Alive/7sl


https://reviews.llvm.org/D34904

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/CodeGen/PowerPC/memcmp.ll
  test/CodeGen/PowerPC/memcmpIR.ll
  test/CodeGen/X86/memcmp.ll
  test/Transforms/CodeGenPrepare/X86/memcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34904.105649.patch
Type: text/x-patch
Size: 14105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170707/da2e2ab8/attachment.bin>


More information about the llvm-commits mailing list