Silencing an MSVC warning about mixing bool and unsigned int.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Aaron Ballman 2013-06-04 01:03:03 +00:00
parent f56a6ded63
commit f3d3952a8c

View File

@ -353,7 +353,7 @@ Value *AMDGPUStructurizeCFG::buildCondition(BranchInst *Term, unsigned Idx,
if (Term->isConditional()) {
Cond = Term->getCondition();
if (Idx != Invert)
if (Idx != (unsigned)Invert)
Cond = invert(Cond);
}
return Cond;