forked from OSchip/llvm-project
[AIX] Change the code based on https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20201214/864235.html
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:
parent
a74941da71
commit
d551e40f1c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue