[llvm-commits] [llvm-gcc-4.2] r135435 - /llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
Benjamin Kramer
benny.kra at googlemail.com
Mon Jul 18 15:15:21 PDT 2011
Author: d0k
Date: Mon Jul 18 17:15:21 2011
New Revision: 135435
URL: http://llvm.org/viewvc/llvm-project?rev=135435&view=rev
Log:
Try to unbreak llvm-gcc build on ARM.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp?rev=135435&r1=135434&r2=135435&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp Mon Jul 18 17:15:21 2011
@@ -1413,7 +1413,7 @@
else
return BadImmediateError(exp, Result);
- const VectorType *VTy = dyn_cast<const VectorType>(ResultType);
+ VectorType *VTy = dyn_cast<VectorType>(ResultType);
assert(VTy && "expected a vector type for vabdl result");
llvm::Type *DTy = VectorType::getTruncatedElementVectorType(VTy);
intFn = Intrinsic::getDeclaration(TheModule, intID, DTy);
@@ -1443,7 +1443,7 @@
else
return BadImmediateError(exp, Result);
- const VectorType *VTy = dyn_cast<const VectorType>(ResultType);
+ VectorType *VTy = dyn_cast<VectorType>(ResultType);
assert(VTy && "expected a vector type for vabal result");
llvm::Type *DTy = VectorType::getTruncatedElementVectorType(VTy);
intFn = Intrinsic::getDeclaration(TheModule, intID, DTy);
More information about the llvm-commits
mailing list