[PATCH] D33963: [CGP / PowerPC] use direct compares if there's only one load per block in memcmp() expansion

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 16:20:14 PDT 2017


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

Patch updated:

1. Initialize 'Cmp' with null.
2. Use CreateICmpNE() to shorten code.


https://reviews.llvm.org/D33963

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33963.101642.patch
Type: text/x-patch
Size: 5794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170606/9990bfb6/attachment.bin>


More information about the llvm-commits mailing list