From ac7f3d99dd5d8ce340a4815161f2ee14d2a5e342 Mon Sep 17 00:00:00 2001 From: Nate Begeman <natebegeman@mac.com> Date: Mon, 12 May 2008 19:23:22 +0000 Subject: [PATCH] Fix build breakage llvm-svn: 50986 --- llvm/lib/VMCore/Constants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp index f9b8bd7b2ac9..974678b2c0eb 100644 --- a/llvm/lib/VMCore/Constants.cpp +++ b/llvm/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<VectorType>(LHS->getType()); + const VectorType *VTy = cast<VectorType>(LHS->getType()); const Type *EltTy = VTy->getElementType(); unsigned NumElts = VTy->getNumElements();