[llvm] r261640 - Silencing a signed vs unsigned mismatch.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 07:02:44 PST 2016
Author: aaronballman
Date: Tue Feb 23 09:02:43 2016
New Revision: 261640
URL: http://llvm.org/viewvc/llvm-project?rev=261640&view=rev
Log:
Silencing a signed vs unsigned mismatch.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp?rev=261640&r1=261639&r2=261640&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCFrameLowering.cpp Tue Feb 23 09:02:43 2016
@@ -653,7 +653,7 @@ PPCFrameLowering::findScratchRegister(Ma
// Now that we've done our best to provide both registers, double check
// whether we were unable to provide enough.
- if (BV.count() < (TwoUniqueRegsRequired ? 2 : 1))
+ if (BV.count() < (TwoUniqueRegsRequired ? 2U : 1U))
return false;
return true;
More information about the llvm-commits
mailing list