summaryrefslogtreecommitdiffstats
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
commit710e1a594bb63612d32c35754b9667ee1f58299e (patch)
treeb5ae8b3b4d4d7812513191ee7d8b64118659606d
parentc20a21b855301a9720313c88f616cc4d53b11348 (diff)
downloadbcm5719-llvm-710e1a594bb63612d32c35754b9667ee1f58299e.tar.gz
bcm5719-llvm-710e1a594bb63612d32c35754b9667ee1f58299e.zip
Explicitly update the number of nodes to be traversed
llvm-svn: 162780
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 9e1da147c96..340524ca209 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud