[all-commits] [llvm/llvm-project] f68925: [X86] Make memcmp vector lowering handle arbitrary...

David Zarzycki via All-commits all-commits at lists.llvm.org
Wed Oct 30 00:13:44 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f68925d45083407e6bf322a7ee18d85c83c001ce
      https://github.com/llvm/llvm-project/commit/f68925d45083407e6bf322a7ee18d85c83c001ce
  Author: David Zarzycki <dave at znu.io>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M llvm/lib/CodeGen/ExpandMemCmp.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/memcmpIR.ll
    A llvm/test/CodeGen/X86/memcmp-more-load-pairs.ll
    M llvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll

  Log Message:
  -----------
  [X86] Make memcmp vector lowering handle arbitrary expansions

Teach combineVectorSizedSetCCEquality() to handle arbitrary memcmp
expansions but do not change any default policy for now.

This also fixes a bug in the memcmp expansion itself when large
displacements are needed.

https://reviews.llvm.org/D69507




More information about the All-commits mailing list