diff options
Diffstat (limited to 'gnu/llvm/clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | gnu/llvm/clang/lib/CodeGen/TargetInfo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/llvm/clang/lib/CodeGen/TargetInfo.cpp b/gnu/llvm/clang/lib/CodeGen/TargetInfo.cpp index 51d6ad0cae5..5f138dcaf54 100644 --- a/gnu/llvm/clang/lib/CodeGen/TargetInfo.cpp +++ b/gnu/llvm/clang/lib/CodeGen/TargetInfo.cpp @@ -4248,13 +4248,12 @@ Address PPC32_SVR4_ABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAList, // }; bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64; - bool isInt = - Ty->isIntegerType() || Ty->isPointerType() || Ty->isAggregateType(); + bool isInt = !Ty->isFloatingType(); bool isF64 = Ty->isFloatingType() && getContext().getTypeSize(Ty) == 64; // All aggregates are passed indirectly? That doesn't seem consistent // with the argument-lowering code. - bool isIndirect = Ty->isAggregateType(); + bool isIndirect = isAggregateTypeForABI(Ty); CGBuilderTy &Builder = CGF.Builder; |