[llvm-commits] [llvm] r51217 - /llvm/trunk/lib/VMCore/ConstantFold.cpp
Nick Lewycky
nicholas at mxc.ca
Sat May 17 02:05:22 PDT 2008
Author: nicholas
Date: Sat May 17 04:05:22 2008
New Revision: 51217
URL: http://llvm.org/viewvc/llvm-project?rev=51217&view=rev
Log:
Unbreak the build.
Modified:
llvm/trunk/lib/VMCore/ConstantFold.cpp
Modified: llvm/trunk/lib/VMCore/ConstantFold.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/ConstantFold.cpp?rev=51217&r1=51216&r2=51217&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/ConstantFold.cpp (original)
+++ llvm/trunk/lib/VMCore/ConstantFold.cpp Sat May 17 04:05:22 2008
@@ -1036,7 +1036,7 @@
if (CE1->getOpcode() == CE2->getOpcode()) {
Constant *Op1 = const_cast<Constant*>(CE1Op0);
Constant *Op2 = CE2->getOperand(0);
- if (CE1Op->getType() == CE2Op->getType()) {
+ if (Op1->getType() == Op2->getType()) {
ConstantInt *R = 0;
ICmpInst::Predicate pred = ICmpInst::ICMP_EQ;
More information about the llvm-commits
mailing list