[X86] Remove isel patterns for ADCX instruction
authorCraig Topper <craig.topper@intel.com>
Wed, 12 Sep 2018 15:47:34 +0000 (15:47 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 12 Sep 2018 15:47:34 +0000 (15:47 +0000)
commit226261353288e377e0f41223f4587d8ee5364f6d
tree59223f8002f44e8dbed2431bc7d81837fe662c24
parenta3d806504566d3363649f8d26395d52cdb9efe63
[X86] Remove isel patterns for ADCX instruction

There's no advantage to this instruction unless you need to avoid touching other flag bits. It's encoding is longer, it can't fold an immediate, it doesn't write all the flags.

I don't think gcc will generate this instruction either.

Fixes PR38852.

Differential Revision: https://reviews.llvm.org/D51754

llvm-svn: 342059
llvm/lib/Target/X86/X86InstrArithmetic.td
llvm/test/CodeGen/X86/adx-intrinsics-upgrade.ll
llvm/test/CodeGen/X86/adx-intrinsics.ll
llvm/test/CodeGen/X86/pr32282.ll
llvm/test/CodeGen/X86/pr32284.ll
llvm/test/CodeGen/X86/stack-folding-adx-x86_64.ll