From 8e48e0b1201bc80af9b43b2742529d976dbfafb0 Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Tue, 28 Aug 2012 19:20:29 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 9e1da147c96..340524ca209 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; }