summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2008-05-12 19:23:22 +0000
committerNate Begeman <natebegeman@mac.com>2008-05-12 19:23:22 +0000
commitac7f3d99dd5d8ce340a4815161f2ee14d2a5e342 (patch)
treed5428f33e9ada3133e6d189c62f7b57856be3016 /llvm
parentd21957002abf708f2270887a16a180c6815a8e37 (diff)
downloadbcm5719-llvm-ac7f3d99dd5d8ce340a4815161f2ee14d2a5e342.tar.gz
bcm5719-llvm-ac7f3d99dd5d8ce340a4815161f2ee14d2a5e342.zip
Fix build breakage
llvm-svn: 50986
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Constants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp
index f9b8bd7b2ac..974678b2c0e 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();
OpenPOWER on IntegriCloud