[PATCH] D75840: [ExpandMemCmp] Improve non-equality comparisons with zero.
    Clement Courbet via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar 12 03:03:28 PDT 2020
    
    
  
courbet updated this revision to Diff 249872.
courbet added a comment.
Use the right unsigned equivalent for comparing loads instead of the signed predicate from the zero relational compare.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75840/new/
https://reviews.llvm.org/D75840
Files:
  llvm/lib/CodeGen/ExpandMemCmp.cpp
  llvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
  llvm/test/CodeGen/X86/memcmp-more-load-pairs.ll
  llvm/test/CodeGen/X86/memcmp.ll
  llvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75840.249872.patch
Type: text/x-patch
Size: 70026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200312/e2bd02f4/attachment.bin>
    
    
More information about the llvm-commits
mailing list