[x86] add smin/smax with zero tests
authorSanjay Patel <spatel@rotateright.com>
Sun, 13 Nov 2016 00:32:39 +0000 (00:32 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 13 Nov 2016 00:32:39 +0000 (00:32 +0000)
commita1b8c10bf6819e83183c3a4dab55a2261978326a
treee2d795d05d93ecf75932b1b62758f5dccd4b3985
parent26a0d805f303fb2781307c9bbcb821750664d0f1
[x86] add smin/smax with zero tests

These are vector tests corresponding to the discussion at:
http://lists.llvm.org/pipermail/llvm-dev/2016-November/106868.html

Apart from the lack of min/max matching, the and/andn difference
shows a lack of DAG-level canonicalization.

llvm-svn: 286737
llvm/test/CodeGen/X86/vec_minmax_match.ll