Skip to content

Commit 15f2d4f

Browse files
author
diggerlin
committed
[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
1 parent 2a6782b commit 15f2d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bool PPCFunctionInfo::isLiveInZExt(Register VReg) const {
6767

6868
void PPCFunctionInfo::appendParameterType(ParamType Type) {
6969
uint32_t CopyParamType = ParameterType;
70-
unsigned Bits = 0;
70+
int Bits = 0;
7171

7272
// If it is fixed type, we only need to increase the FixedParamNum, for
7373
// the bit encode of fixed type is bit of zero, we do not need to change the

0 commit comments

Comments
 (0)