| Index: src/IceTargetLoweringX86BaseImpl.h
|
| diff --git a/src/IceTargetLoweringX86BaseImpl.h b/src/IceTargetLoweringX86BaseImpl.h
|
| index 3ed27cbb69a30ce31b43c4100b4241570821ef25..b3b65b391bc53bff09bcc5bb54ae60a35b39cc05 100644
|
| --- a/src/IceTargetLoweringX86BaseImpl.h
|
| +++ b/src/IceTargetLoweringX86BaseImpl.h
|
| @@ -7019,6 +7019,9 @@ uint32_t TargetX86Base<TraitsType>::getCallStackArgumentsSizeBytes(
|
| assert(typeWidthInBytes(Ty) >= 4);
|
| if (isVectorType(Ty) && XmmArgCount < Traits::X86_MAX_XMM_ARGS) {
|
| ++XmmArgCount;
|
| + } else if (isScalarFloatingType(Ty) && Traits::X86_PASS_SCALAR_FP_IN_XMM &&
|
| + XmmArgCount < Traits::X86_MAX_XMM_ARGS) {
|
| + ++XmmArgCount;
|
| } else if (isScalarIntegerType(Ty) &&
|
| GprArgCount < Traits::X86_MAX_GPR_ARGS) {
|
| // The 64 bit ABI allows some integers to be passed in GPRs.
|
|
|