[X86] Fix compilation of r324580.

@ctopper Can you check that the fix is correct ?

llvm-svn: 324586
This commit is contained in:
Clement Courbet 2018-02-08 09:41:50 +00:00
parent 8989940557
commit 1b8c08b633
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }