[llvm] r183176 - Silencing an MSVC warning about mixing bool and unsigned int.
Aaron Ballman
aaron at aaronballman.com
Mon Jun 3 18:03:03 PDT 2013
Author: aaronballman
Date: Mon Jun 3 20:03:03 2013
New Revision: 183176
URL: http://llvm.org/viewvc/llvm-project?rev=183176&view=rev
Log:
Silencing an MSVC warning about mixing bool and unsigned int.
Modified:
llvm/trunk/lib/Target/R600/AMDGPUStructurizeCFG.cpp
Modified: llvm/trunk/lib/Target/R600/AMDGPUStructurizeCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUStructurizeCFG.cpp?rev=183176&r1=183175&r2=183176&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUStructurizeCFG.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUStructurizeCFG.cpp Mon Jun 3 20:03:03 2013
@@ -353,7 +353,7 @@ Value *AMDGPUStructurizeCFG::buildCondit
if (Term->isConditional()) {
Cond = Term->getCondition();
- if (Idx != Invert)
+ if (Idx != (unsigned)Invert)
Cond = invert(Cond);
}
return Cond;
More information about the llvm-commits
mailing list