summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-10 00:28:12 +0000
committerChris Lattner <sabre@nondot.org>2007-07-10 00:28:12 +0000
commit50d4abd24cbf8df73b440d214213da56e6b609f0 (patch)
tree7a9e110e02a5ab5dbf3f13c35266efb70fef0cbf /clang/CodeGen/CodeGenFunction.cpp
parent6eea886b9ed84df2f3919c40241a52fc61fefb85 (diff)
downloadbcm5719-llvm-50d4abd24cbf8df73b440d214213da56e6b609f0.tar.gz
bcm5719-llvm-50d4abd24cbf8df73b440d214213da56e6b609f0.zip
Add support for vector formal arguments.
llvm-svn: 39721
Diffstat (limited to 'clang/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/CodeGen/CodeGenFunction.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/CodeGen/CodeGenFunction.cpp b/clang/CodeGen/CodeGenFunction.cpp
index 07c33130f26..662c3b513c9 100644
--- a/clang/CodeGen/CodeGenFunction.cpp
+++ b/clang/CodeGen/CodeGenFunction.cpp
@@ -44,7 +44,8 @@ const llvm::Type *CodeGenFunction::ConvertType(QualType T) {
}
bool CodeGenFunction::hasAggregateLLVMType(QualType T) {
- return !T->isRealType() && !T->isPointerType() && !T->isVoidType();
+ return !T->isRealType() && !T->isPointerType() && !T->isVoidType() &&
+ !T->isVectorType();
}
OpenPOWER on IntegriCloud