diff options
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 71ef679f18..45896314ec 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -843,7 +843,7 @@ ABIArgInfo X86_64ABIInfo::classifyArgumentType(QualType Ty, ASTContext &Context, case X87: case ComplexX87: // Choose appropriate in memory type. - if (CodeGenFunction::hasAggregateLLVMType(Ty)) + if (Ty->isVectorType() || CodeGenFunction::hasAggregateLLVMType(Ty)) return ABIArgInfo::getIndirect(0); else return ABIArgInfo::getDirect(); |