[PATCH] D10947: [X86][SSE] Use the general SMAX/SMIN/UMAX/UMIN opcodes and remove the X86 implementation

Simon Pilgrim llvm-dev at redking.me.uk
Sun Jul 5 04:34:33 PDT 2015


RKSimon created this revision.
RKSimon added reviewers: qcolombet, delena, jmolloy, andreadb.
RKSimon added a subscriber: llvm-commits.

With the completion of D9746 there is now a common implementation of integer signed/unsigned min/max nodes, removing the need for the equivalent X86 specific implementations.

This patch removes the old X86ISD nodes, legalizes the relevant SSE2/SSE41/AVX2/AVX512 instructions for the ISD versions and converts the small amount of existing X86 code. A future patch may then move the remaining x86 integer minmax pattern matching into the DAG combiner.

Repository:
  rL LLVM

http://reviews.llvm.org/D10947

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  lib/Target/X86/X86InstrAVX512.td
  lib/Target/X86/X86InstrFragmentsSIMD.td
  lib/Target/X86/X86InstrSSE.td
  lib/Target/X86/X86IntrinsicsInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10947.29054.patch
Type: text/x-patch
Size: 51477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150705/5c95ae81/attachment.bin>


More information about the llvm-commits mailing list