[llvm] r202295 - Silencing an MSVC signed comparison warning.
Aaron Ballman
aaron at aaronballman.com
Wed Feb 26 12:22:20 PST 2014
Author: aaronballman
Date: Wed Feb 26 14:22:20 2014
New Revision: 202295
URL: http://llvm.org/viewvc/llvm-project?rev=202295&view=rev
Log:
Silencing an MSVC signed comparison warning.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp?rev=202295&r1=202294&r2=202295&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp Wed Feb 26 14:22:20 2014
@@ -189,7 +189,7 @@ bool PPCCTRLoops::runOnFunction(Function
static bool isLargeIntegerTy(bool Is32Bit, Type *Ty) {
if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
- return ITy->getBitWidth() > (Is32Bit ? 32 : 64);
+ return ITy->getBitWidth() > (Is32Bit ? 32U : 64U);
return false;
}
More information about the llvm-commits
mailing list