From 6fd90ce2ee62768e13f9753dcd1299d5d3c23879 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Mon, 12 May 2008 19:23:22 +0000 Subject: [PATCH] Fix build breakage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50986 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Constants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.34.1