forked from OSchip/llvm-project
[X86] Fix compilation of r324580.
@ctopper Can you check that the fix is correct ? llvm-svn: 324586
This commit is contained in:
parent
8989940557
commit
1b8c08b633
|
@ -18152,7 +18152,7 @@ static SDValue EmitKTEST(SDValue Op0, SDValue Op1, ISD::CondCode CC,
|
||||||
// If the input is an OR, we can combine it's operands into the KORTEST.
|
// If the input is an OR, we can combine it's operands into the KORTEST.
|
||||||
SDValue LHS = Op0;
|
SDValue LHS = Op0;
|
||||||
SDValue RHS = Op0;
|
SDValue RHS = Op0;
|
||||||
if (Op0.getOpcode() == ISD::OR && Op0.hasOneUse( && Op0.hasOneUse())) {
|
if (Op0.getOpcode() == ISD::OR && Op0.hasOneUse()) {
|
||||||
LHS = Op0.getOperand(0);
|
LHS = Op0.getOperand(0);
|
||||||
RHS = Op0.getOperand(1);
|
RHS = Op0.getOperand(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue