Silencing an MSVC warning about mixing bool and unsigned int.

llvm-svn: 183176
This commit is contained in:
Aaron Ballman 2013-06-04 01:03:03 +00:00
parent d07f55185c
commit 19978553d4
1 changed files with 1 additions and 1 deletions

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;