forked from OSchip/llvm-project
Silencing an MSVC signed comparison warning.
llvm-svn: 202295
This commit is contained in:
parent
121caf6313
commit
3d69c5cae4
|
@ -189,7 +189,7 @@ bool PPCCTRLoops::runOnFunction(Function &F) {
|
||||||
|
|
||||||
static bool isLargeIntegerTy(bool Is32Bit, Type *Ty) {
|
static bool isLargeIntegerTy(bool Is32Bit, Type *Ty) {
|
||||||
if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
|
if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
|
||||||
return ITy->getBitWidth() > (Is32Bit ? 32 : 64);
|
return ITy->getBitWidth() > (Is32Bit ? 32U : 64U);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue