From: Nate Begeman Date: Mon, 12 May 2008 19:23:22 +0000 (+0000) Subject: Fix build breakage X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6fd90ce2ee62768e13f9753dcd1299d5d3c23879;p=oota-llvm.git Fix build breakage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50986 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index f9b8bd7b2ac..974678b2c0e 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -2046,7 +2046,7 @@ ConstantExpr::getVICmp(unsigned short pred, Constant* LHS, Constant* RHS) { assert(pred >= ICmpInst::FIRST_ICMP_PREDICATE && pred <= ICmpInst::LAST_ICMP_PREDICATE && "Invalid VICmp Predicate"); - const Type *VTy = cast(LHS->getType()); + const VectorType *VTy = cast(LHS->getType()); const Type *EltTy = VTy->getElementType(); unsigned NumElts = VTy->getNumElements();