OSDN Git Service

[X86] Remove XOP VPCMOV intrinsics and autoupgrade them to native IR.
authorCraig Topper <craig.topper@gmail.com>
Sat, 18 Feb 2017 19:51:25 +0000 (19:51 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 18 Feb 2017 19:51:25 +0000 (19:51 +0000)
commitaa2f6f93a28d2977b3dbc9856fb47c22ca7fbb94
tree0b7970044471c51c5582b1187e6d031ef716c507
parenta6bf7e7433ff2abc94649e1c5e126e9f4f459dc6
[X86] Remove XOP VPCMOV intrinsics and autoupgrade them to native IR.

It seems we were already upgrading 128-bit VPCMOV, but the intrinsic was still defined and being used in isel patterns. While I was here I also simplified the tablegen multiclasses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295564 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsX86.td
lib/IR/AutoUpgrade.cpp
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrXOP.td
test/CodeGen/X86/xop-intrinsics-fast-isel.ll
test/CodeGen/X86/xop-intrinsics-x86_64-upgrade.ll
test/CodeGen/X86/xop-intrinsics-x86_64.ll