File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4889,7 +4889,7 @@ class CondBranchInst : public TermInst {
4889
4889
4890
4890
auto Operands = getTrueOperands ();
4891
4891
return Operands.front ().getOperandNumber () <= OpIndex &&
4892
- Operands.back ().getOperandNumber () <= OpIndex ;
4892
+ OpIndex <= Operands.back ().getOperandNumber ();
4893
4893
}
4894
4894
4895
4895
// / Is \p OpIndex an operand associated with the false case?
@@ -4901,7 +4901,7 @@ class CondBranchInst : public TermInst {
4901
4901
4902
4902
auto Operands = getFalseOperands ();
4903
4903
return Operands.front ().getOperandNumber () <= OpIndex &&
4904
- Operands.back ().getOperandNumber () <= OpIndex ;
4904
+ OpIndex <= Operands.back ().getOperandNumber ();
4905
4905
}
4906
4906
4907
4907
// / Returns the argument on the cond_br terminator that will be passed to
You can’t perform that action at this time.
0 commit comments