[X86][XOP] Add support for the matching of the VPCMOV bit select instruction
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 3 Nov 2015 20:27:01 +0000 (20:27 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 3 Nov 2015 20:27:01 +0000 (20:27 +0000)
commit91c642526e40b77f44a03b99b5d450cd293b78aa
tree303ae00ba046ef1d6fdc24a107ea4ddb6eb86bd3
parent7c5ec54082ccfac9503cfe058efb26cf4e482473
[X86][XOP] Add support for the matching of the VPCMOV bit select instruction

XOP has the VPCMOV instruction that performs the common vector bit select operation OR( AND( SRC1, SRC3 ), AND( SRC2, ~SRC3 ) )

This patch adds tablegen pattern matching for this instruction.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251975 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/AutoUpgrade.cpp
lib/Target/X86/X86InstrXOP.td
test/CodeGen/X86/xop-intrinsics-x86_64.ll
test/CodeGen/X86/xop-pcmov.ll [new file with mode: 0644]