forked from OSchip/llvm-project
Silencing an MSVC warning about mixing bool and unsigned int.
llvm-svn: 183176
This commit is contained in:
parent
d07f55185c
commit
19978553d4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue