[X86] Directly create ADC/SBB nodes instead of using ADD/SUB with (and SETCC_CARRY, 1)
authorCraig Topper <craig.topper@intel.com>
Thu, 6 Dec 2018 22:26:59 +0000 (22:26 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 6 Dec 2018 22:26:59 +0000 (22:26 +0000)
commit2c7a9476e0b8068518d83d1afced9b4fdca4961c
tree8085303d1dcbde208ae017cf3d8856c209431466
parent70af85b0accbe887604120776ad2e9a62340a64a
[X86] Directly create ADC/SBB nodes instead of using ADD/SUB with (and SETCC_CARRY, 1)

This addresses a FIXME and avoids depending on an isel pattern match I think. I've remove the isel patterns too since he have no lit tests left that cover them. Hopefully that really means they are unused.

I'm trying to decide if we need SETCC_CARRY. This removes one of its usages.

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

llvm-svn: 348536
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86InstrCompiler.td