[all-commits] [llvm/llvm-project] cb6822: [X86] Reland: Enable YMM memcmp with AVX1

David Zarzycki via All-commits all-commits at lists.llvm.org
Thu Oct 31 23:59:15 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cb6822c9deb63b6c21263b3732e549fdc89c4bbf
      https://github.com/llvm/llvm-project/commit/cb6822c9deb63b6c21263b3732e549fdc89c4bbf
  Author: David Zarzycki <dave at znu.io>
  Date:   2019-11-01 (Fri, 01 Nov 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/CodeGen/X86/memcmp-more-load-pairs.ll
    M llvm/test/CodeGen/X86/memcmp-optsize.ll
    M llvm/test/CodeGen/X86/memcmp.ll

  Log Message:
  -----------
  [X86] Reland: Enable YMM memcmp with AVX1

Update TargetTransformInfo to allow AVX1 to use YMM registers for memcmp.

This is a follow up to D68632 which enabled XOR compares which made this possible.

This also updates the memcmp-optsize.ll test unlike the first patch.

https://reviews.llvm.org/D69658




More information about the All-commits mailing list