[llvm-commits] [llvm] r162780 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Michael Liao michael.liao at intel.com
Tue Aug 28 12:20:29 PDT 2012


Author: hliao
Date: Tue Aug 28 14:20:29 2012
New Revision: 162780

URL: http://llvm.org/viewvc/llvm-project?rev=162780&view=rev
Log:
Explicitly update the number of nodes to be traversed


Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=162780&r1=162779&r2=162780&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Aug 28 14:20:29 2012
@@ -14128,7 +14128,7 @@
       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;
     }
 





More information about the llvm-commits mailing list