1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[AIX] Fixed "comparison of unsigned expression >= 0 is always true" gcc warnings.

Summary:

fixed a  Fixed "comparison of unsigned expression >= 0 is always true" gcc warnings.
http://lab.llvm.org:8011/#/builders/5/builds/2407/steps/2/logs/stdio

the error caused by patch https://reviews.llvm.org/D92398
This commit is contained in:
diggerlin 2020-12-14 11:08:40 -05:00
parent 8b493e1580
commit 1cd7949f8b

View File

@ -67,7 +67,7 @@ bool PPCFunctionInfo::isLiveInZExt(Register VReg) const {
void PPCFunctionInfo::appendParameterType(ParamType Type) {
uint32_t CopyParamType = ParameterType;
unsigned Bits = 0;
int Bits = 0;
// If it is fixed type, we only need to increase the FixedParamNum, for
// the bit encode of fixed type is bit of zero, we do not need to change the