[X86] DAGCombinerInfo is in TargetLowering not X86TargetLowering.

llvm-svn: 318451
This commit is contained in:
Craig Topper 2017-11-16 20:23:17 +00:00
parent 1021e0b04d
commit 8e9eafb64c

View File

@ -36032,7 +36032,7 @@ static SDValue combineSBB(SDNode *N, SelectionDAG &DAG) {
// Optimize RES, EFLAGS = X86ISD::ADC LHS, RHS, EFLAGS
static SDValue combineADC(SDNode *N, SelectionDAG &DAG,
X86TargetLowering::DAGCombinerInfo &DCI) {
TargetLowering::DAGCombinerInfo &DCI) {
// If the LHS and RHS of the ADC node are zero, then it can't overflow and
// the result is either zero or one (depending on the input carry bit).
// Strength reduce this down to a "set on carry" aka SETCC_CARRY&1.