[PATCH] D69658: [X86] Enable YMM memcmp with AVX1

David Zarzycki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 04:03:23 PDT 2019


davezarzycki created this revision.
davezarzycki added reviewers: craig.topper, RKSimon, spatel.
davezarzycki added a project: LLVM.

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

This is a follow up to D68632 <https://reviews.llvm.org/D68632> which enabled XOR compares which made this possible.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69658

Files:
  lib/Target/X86/X86TargetTransformInfo.cpp
  test/CodeGen/X86/memcmp-more-load-pairs.ll
  test/CodeGen/X86/memcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69658.227259.patch
Type: text/x-patch
Size: 19715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191031/b962fb48/attachment.bin>


More information about the llvm-commits mailing list