Summary:

change the code based on the discussion as:
https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20201214/864235.html
This commit is contained in:
diggerlin 2020-12-18 13:02:41 -05:00
parent a74941da71
commit d551e40f1c
1 changed files with 1 additions and 1 deletions

View File

@ -94,6 +94,6 @@ void PPCFunctionInfo::appendParameterType(ParamType Type) {
}
assert(Type != FixedType && "FixedType should already be handled.");
if (30 - Bits >= 0)
if (Bits < 31)
ParameterType |= Type << (30 - Bits);
}