We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11af219 commit 676c948Copy full SHA for 676c948
IGC/AdaptorCommon/LegalizeFunctionSignatures.cpp
@@ -83,7 +83,7 @@ bool LegalizeFunctionSignatures::runOnModule(Module& M)
83
inline bool isLegalReturnType(Type* ty, bool isStackCall)
84
{
85
// for functions, check return type and stackcall attribute
86
- if (ty->getPrimitiveSizeInBits() && isStackCall)
+ if (ty->getPrimitiveSizeInBits() > 64 && isStackCall)
87
88
return false;
89
}
0 commit comments