diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-10 00:28:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-10 00:28:12 +0000 |
commit | 50d4abd24cbf8df73b440d214213da56e6b609f0 (patch) | |
tree | 7a9e110e02a5ab5dbf3f13c35266efb70fef0cbf /clang/CodeGen/CodeGenFunction.cpp | |
parent | 6eea886b9ed84df2f3919c40241a52fc61fefb85 (diff) | |
download | bcm5719-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.cpp | 3 |
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(); } |