mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
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:
parent
f56a6ded63
commit
f3d3952a8c
@ -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
Block a user