From: Craig Topper Date: Thu, 23 Nov 2017 18:41:17 +0000 (+0000) Subject: [X86] Remove some dead code. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef7f0073c5b8446985745a76937e2ccd57f8d976;p=llvm [X86] Remove some dead code. NFC AVX512 code never reaches here so we don't need to handle X86ISD::CMPM as an opcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318929 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 6251ef64a37..a66cf106b17 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -17569,14 +17569,12 @@ static SDValue LowerVSETCC(SDValue Op, const X86Subtarget &Subtarget, if (Cond == ISD::SETUEQ) { CC0 = 3; // UNORD CC1 = 0; // EQ - CombineOpc = Opc == X86ISD::CMPP ? static_cast(X86ISD::FOR) : - static_cast(ISD::OR); + CombineOpc = X86ISD::FOR; } else { assert(Cond == ISD::SETONE); CC0 = 7; // ORD CC1 = 4; // NEQ - CombineOpc = Opc == X86ISD::CMPP ? static_cast(X86ISD::FAND) : - static_cast(ISD::AND); + CombineOpc = X86ISD::FAND; } SDValue Cmp0 = DAG.getNode(Opc, dl, VT, Op0, Op1,