Fix build breakage

llvm-svn: 50986
This commit is contained in:
Nate Begeman 2008-05-12 19:23:22 +00:00
parent d21957002a
commit ac7f3d99dd
1 changed files with 1 additions and 1 deletions

View File

@ -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();