[llvm-commits] [llvm] r50986 - /llvm/trunk/lib/VMCore/Constants.cpp

Nate Begeman natebegeman at mac.com
Mon May 12 12:23:22 PDT 2008


Author: sampo
Date: Mon May 12 14:23:22 2008
New Revision: 50986

URL: http://llvm.org/viewvc/llvm-project?rev=50986&view=rev
Log:
Fix build breakage

Modified:
    llvm/trunk/lib/VMCore/Constants.cpp

Modified: llvm/trunk/lib/VMCore/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Constants.cpp?rev=50986&r1=50985&r2=50986&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/Constants.cpp (original)
+++ llvm/trunk/lib/VMCore/Constants.cpp Mon May 12 14:23:22 2008
@@ -2046,7 +2046,7 @@
   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();
 





More information about the llvm-commits mailing list