[X86][SSE] Use the general SMAX/SMIN/UMAX/UMIN pattern matching and remove the X86...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Aug 2015 20:45:55 +0000 (20:45 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Aug 2015 20:45:55 +0000 (20:45 +0000)
commitbec1b77e9be6ec189c5805586eae2e6cf8fe2850
treefd36607bf0e408cdb53ee5d6ea0b41e00138dcae
parentd0a074c824b53468adae394cc73a1bf357dc47bf
[X86][SSE] Use the general SMAX/SMIN/UMAX/UMIN pattern matching and remove the X86 implementation

Follow up to D10947 - D9746 added general SMAX/SMIN/UMAX/UMIN pattern matching to SelectionDAGBuilder::visitSelect.

This patch removes the X86 implementation and improves the AVX1/AVX2 support to correctly lower 256-bit integer vectors.

Differential Revision: http://reviews.llvm.org/D12006

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244949 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp