diff options
author | Nate Begeman <natebegeman@mac.com> | 2008-05-12 19:23:22 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2008-05-12 19:23:22 +0000 |
commit | 6fd90ce2ee62768e13f9753dcd1299d5d3c23879 (patch) | |
tree | d332f45b17ff02379ce2fd491da84e5f1fc14610 /lib | |
parent | ac80ade1580378e484e24c9f66d2fa5b058e5891 (diff) | |
download | external_llvm-6fd90ce2ee62768e13f9753dcd1299d5d3c23879.zip external_llvm-6fd90ce2ee62768e13f9753dcd1299d5d3c23879.tar.gz external_llvm-6fd90ce2ee62768e13f9753dcd1299d5d3c23879.tar.bz2 |
Fix build breakage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index f9b8bd7..974678b 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<VectorType>(LHS->getType()); + const VectorType *VTy = cast<VectorType>(LHS->getType()); const Type *EltTy = VTy->getElementType(); unsigned NumElts = VTy->getNumElements(); |