OSDN Git Service

[X86] DAGCombinerInfo is in TargetLowering not X86TargetLowering.
authorCraig Topper <craig.topper@intel.com>
Thu, 16 Nov 2017 20:23:17 +0000 (20:23 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 16 Nov 2017 20:23:17 +0000 (20:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318451 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index a89920d..67420fe 100644 (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.