1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

[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 1684dc6c25
commit 2a4da505d8

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.
SDValue LHS = Op0;
SDValue RHS = Op0;
if (Op0.getOpcode() == ISD::OR && Op0.hasOneUse( && Op0.hasOneUse())) {
if (Op0.getOpcode() == ISD::OR && Op0.hasOneUse()) {
LHS = Op0.getOperand(0);
RHS = Op0.getOperand(1);
}