aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2012-08-28 19:20:29 +0000
committerMichael Liao <michael.liao@intel.com>2012-08-28 19:20:29 +0000
commit8e48e0b1201bc80af9b43b2742529d976dbfafb0 (patch)
treee6130e94b96ec5362ee83c0d244ab8f021500499
parent69dba7e20476ec0e64791e47b498ae3a69619f7d (diff)
Explicitly update the number of nodes to be traversed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162780 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 9e1da147c9..340524ca20 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -14128,7 +14128,7 @@ static SDValue checkFlaggedOrCombine(SDValue Or, X86::CondCode &CC,
Opnds.push_back(I->getOperand(0));
Opnds.push_back(I->getOperand(1));
// Re-evaluate the number of nodes to be traversed.
- e = Opnds.size();
+ e += 2;
continue;
}