From baa90d4eef4833da479d90fcf93429486192058d Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sat, 17 May 2008 09:05:22 +0000 Subject: [PATCH] Unbreak the build. llvm-svn: 51217 --- lib/VMCore/ConstantFold.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp index e381f3b1028..07df0bfba05 100644 --- a/lib/VMCore/ConstantFold.cpp +++ b/lib/VMCore/ConstantFold.cpp @@ -1036,7 +1036,7 @@ static ICmpInst::Predicate evaluateICmpRelation(const Constant *V1, if (CE1->getOpcode() == CE2->getOpcode()) { Constant *Op1 = const_cast(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;